Scope.get

Get the variable value. Note that you have the variable before you can retrieve it.


Scope.get( variableName : String,  fallbackValue : Boolean|Number|Object|String) : Boolean|Number

Arguments

variableName
String. The variable name
fallbackValue
Boolean|Number|Object|String. Fallback value when this variable has not been declared.

Return Value

Boolean|Number
|Object|StringVariable