Application icon

Test Value of Boolean in Container

This statement tests if an item at the directed path can be interpreted as a boolean value. If it can the action test state is set to the boolean value. If there are any errors or the item is not a Boolean, Number or String, the action test state will be set to false. A String value of true or one which starts with a non zero integer value, will set the action test state to true. Any other string value will set the action test state to false. p>

If the Stop action on error option is enabled and an error occurred, the action will be terminated with an error message. If the Stop action on error option is not enabled and an error occurred, named variable Container Error will contain the error text.

The text field can contain any of the escape sequences defined in Escape Sequences.

Example:

Test the value of the Boolean container item at 'sample.boolItem'


Containers

Directed Paths