Operators

is before

Supported By

Syntax

expression is before expression

Description

The is before operator compares the two given values. If the first value is less than the second, the is before operator evaluates to true. If the first value is greater than or equal to the second, the is before operator evaluates to false.

If both given values are integers or numbers, the values will be compared numerically. If both given values are dates, the values will be compared chronologically. Otherwise, the values will be compared as strings.

Note

String comparison is case-insensitive. For case-sensitive comparison, use the csstrcmp function.

Synonyms

comes before, is fewer than, is less than, is smaller than, <

See Also

<=, lt, le, between, decreasing, descending, strcmp, csstrcmp