Function Block BOOL

The Function Block BOOL converts any data type to a boolean value.

Input

Any data type can be passed at the input.

Output

The output returns a boolean value. It is false if the following conditions are met at the input:

  • A string with the value "" or "0"
  • A number 0
  • Bool FALSE or NULL