getValue

fun getValue(variable: String, type: String): Any?

Get a variable value. Handles "it" default type specially, because it could be an "it" of different variables, defined as the most recently added entry.