Documentation Center

Scope.get

Description

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

Syntax

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|String.