This function returns the value stored in a boolean variable, which was previously created using the setBoolean() function.

Syntax
getBoolean(variableName) #Output: Boolean
Examples
Expression parserDescription
getBoolean("myBoolean")

This example returns the value stored in the variable named "myBoolean", e.g.:

true

Additional information

Parameters used in this function

ParameterInput (data type)Description
variableName

TEXT

The name of the stored variable.
Output

This function returns a BOOLEAN

To return the value you must have created the variable before, using the setBoolean() function within the same expression.


Use cases and examples