Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Logical Functions

Excerpt
hiddentrue

Functions which compare values and return a true or false result.

List of logical functions

Page Tree
root@self
excerpttrue

Anchor
trueFalse
trueFalse
True and False

The values True and False are represented by 1 and 0 respectively in PhixFlow and any function which returns a logical value will return either 1 or 0.

Please also note that any non-null, non-zero value will be treated as True by the logical functions.

Anchor
comparator
comparator
Comparator Type

Logical functions may take a Comparator Type parameter which specifies the comparison operations. These are strings with one of the following values:

ComparatorMeaning
_LESS_THANThe first item is less than the second. Numerical and Alphabetic comparisons are handled
_GREATER_THANThe first item is greater than the second. Numerical and Alphabetic comparisons are handled
_EQUALSThe first item is identical to the second. Numerical and Alphabetic comparisons are handled
_GREATER_THAN_OR_EQUALThe first item is identical to or greater than the second. Numerical and Alphabetic comparisons are handled
_LESS_THAN_OR_EQUALThe first item is identical to or less than the second. Numerical and Alphabetic comparisons are handled
_NOT_EQUALSThe first item is not identical to the second. Numerical and Alphabetic comparisons are handled
_STARTS_WITHThe first item starts with the second string. Alphabetic comparisons only
_NOT_STARTS_WITHThe first item does not start with the second string. Alphabetic comparisons only
_LIKEThe first item is like the second string. Alphabetic comparisons only