Boolean package

The Boolean package contains actions that enable you to do various operations on boolean values.

Actions in the Boolean package

The actions in the Boolean package accept a variable as an input and assign the output to a variable. These actions enable you to compare two boolean values, convert a boolean value to a string or numeric value, and convert a string value to a boolean value.

The Boolean package includes the following actions:

Compare results for the Compare to action

The following table illustrates how two boolean values are compared using the Compare to action and their output:
Boolean value 1 Boolean value 2 Compare result
True True 0
True False 1
False True -1
False False 0

Compare results for the Equal to action

The following table illustrates how two boolean values are compared using the Equal to action and their output:
Boolean value 1 Boolean value 2 Equal result
True True True
True False False
False True False
False False True