Get variable value
variable.get(options?)
Retrieves the value of the variable.
Syntax
Parameters
- options:
{mode: VariableMode}
- An optional parameter to get the mode-specific value of the variable.
Returns
A Promise that resolves to the value of the variable, which depends on the variable type. If a variable’s was assigned another variable as it’s value (i.e a variable alias), the value will be the assigned variable.
Additionally, if the mode
parameter is provided, the value will be returned for the specified mode.
Example
Designer Ability
Checks for Authorization only