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. A String value of true or one which starts with a non zero integer value, will accepted as true. Any other string value will be treated as false. You can test for the boolean value being true or false and you can Set, nd or Or the result to the action test state.

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 and the effective result will be false.

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

Example:

Test if the value of the Boolean container item at 'sample.boolItem' is true (Set test state)



Containers

Directed Paths