ToBool Function
The ToBool function converts an expression to a boolean value.
Syntax
ToBool(expression)
The ToBool function converts an expression to a boolean value.
Arguments
expression
Expression - The expression to convert.
Remarks
Example:
ToBool(1) // returns true
Example:
ToBool(0) // returns false.
Example:
ToBool("true"); // returns true
Example:
ToBool("false"); // returns false.