Relational (<, <=, >, >=, is)

Relational operators perform magnitude comparisons for numeric values and the is operator performs runtime type checking. Type checking returns true if the operand matches the specified type.

Relational       = Additive { ("<" | "<=" | ">" | ">=" | "is") Additive } ;

Examples:

age >= 18
score < 100
value is number


Back to top

Copyright © Mesch Systems. All rights reserved.