getBoolean()

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


Bash
getBoolean(variableName) #Output: Boolean


Examples

Expression parser

Description

Bash
getBoolean("myBoolean")

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

true

Additional information

Parameters used in this function

Parameter

Input (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