Logical Comparisons

A logical comparison is an expression that evaluates to TRUE or FALSE. It can use the equals (=), not-equals (!=), greater-than (>), greater-than-or-equal-to (>=), less-than (<) and less-than-or-equal-to (<=) operators. For example:

@(contact.age > 18)
When comparing text values, the equals (=) and not-equals (!=) operators are case-insensitive.
Last updated 29 October 2026