The Less Than operator is used to compare two values and to check whether a value is less than the other.
The <
can be used to compare values of the following types:
- text
- number
- duration
- datetime
- concept
- reference
Syntax
Value1 < Value2
Returns
The result of the <
operator is a boolean.
The result is true whenValue1
is less than Value2
.
The result is false when Value1
is not less than Value2
.
- number < number returns a boolean
- text < text = returns a boolean (alphabetical comparison, case insensitive)
- datetime < datetime returns a boolean
- duration < duration returns a boolean
- concept < concept returns a boolean (applies to the order of concepts)
- reference < reference returns a boolean
Examples
15 < 7 /* results in false */