Skip to content

script.variableGet ​

Returns the value of a model variable.

js
script.variableGet(key)

Parameters ​

ParameterTypeDescription
keystringThe variable's name.

Returns ​

string

The variable's value.

Examples ​

js
const value = script.variableGet("Current Month");