--- title: "GetVariableValue" ---
This is generated from the built in components of Otter 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Returns the value of a variable if the specified variable name is available in the current context; otherwise returns null.

Script usage:

GetVariableValue(VariableName, [VariableType])

Parameters:

NameDescription
VariableNameThe name of the variable.
VariableTypeMust be one of: any, scalar, vector, or map; when none is specified, "any" is used.