Articles on: Expressions

Logical Comparisons

A logical comparison is an expression which evaluates to TRUE or FALSE. These may use the equals (=), not-equals (!=), greater-than (>), greater-than-or-equal to (>=), less-than (<) and less-than-or-equal to (<=) operators, e.g.


@(contact.age > 18)


Note that when comparing text values, the equals ( = ) and not-equals ( != ) operators are case-insensitive.

Updated on: 08/05/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!