Boolean

The Boolean category of functions are used to evaluate whether or not a value is true or false. The resulting output from these evaluations can be used to control the logic within your application. All values supplied to Boolean functions are evaluated as the type True/False. When supplying a value that is not of the type True/False, the following truth evaluation criteria are used:

  • Any non-empty String value that is not of the type True/False will evaluate to true when used as an input.
  • For example, the String ‘hello’ will be evaluated as true.
  • If an input value contains no content, it will evaluate to false.
  • The numbers ‘1’ and ‘0’ will evaluate to true or false, respectively.