GetVariableBool Function

Gets a boolean variable. This is the simple version of GetVariable that returns the value directly.

Syntax

bool GetVariableBool(
const string&in name
)

Parameters

const string&in name
The name of the variable.

Return value

bool
The variable value. If the variable does not exist or the type is not matching, false is returned.

Remarks

None.