To Bool

Description

Converts a text, integer, or decimal variable to a bool:

  1. Converts a text, integer or decimal value of 0 to false.

  2. Converts a text, integer or decimal value of 1 to true.

  3. Converting a text value of "true" to true.

  4. Converting a text value of "false" to false.

Event Options

Variable

A text, integer, or decimal variable you wish to convert.

As

The resulting true or false value.

Example

Variable

1

After running the event with the above options, the As option will be hold the value true.

Last updated