Hortonworks Cybersecurity Platform
Also available as:
PDF

Boolean Expressions

Variables may be used in boolean expressions. Variables which are not explicitly boolean may be interpreted as boolean subject to certain rules.

Variables which are not explicitly boolean may be interepreted as booleans subject to the following rules:

  • Similar to python and javascript, empty collections (for example, []) will be interpreted as false

  • Similar to python and javascript, missing variables will be interpreted as false
  • Variables set to null will be interpreted as false

Otherwise, boolean variables will be interpreted as their values reflect.