You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


Status
Tech review

TODO

Style guide

TODO

TODO

READY FOR REVIEW

DONE

FLAGGED

On this page

Overview

Boolean expressions, or logical expressions, will always return or accept one of two distinct BOOLEANvalues: true or false

Simple examples
ExpressionBoolean value
3 < 5true
3 > 5false
"It is Monday"true if it is actually Monday, false otherwise
"It is Sunday"true if it is actually Sunday, false otherwise

Expressions can be combined or linked using operators to construct complex logical comparisons.

ExpressionBoolean value
"It is Monday" AND "It is Sunday"false
"It is Monday" OR "It is Sunday"true if it is either Monday or Sunday, false otherwise

The JWT expression parser accepts the most common comparison operators as well as logical operators

The main purpose of operators is to construct complex logical comparisons by linking individual expressions. 

Logical expressions, which can currently be used in the logical parsing mode are built using the following components:

  • Basic elements
  • Field codes

  • Comparison operators
  • Logical operators


To ease into the logical expressions, we have prepared some examples on how you can construct more or less complex logical expressions. 

More examples

Error rendering macro 'excerpt-include'

No link could be created for 'Examples of logical expressions'.

A full list of examples can be found here.