LESSEQ - Comparison
Checks if lhs is less or equal than rhs.
Details
This function can also be written as infix notation <lhs> <= <rhs>.
Input parameters
| Name | Type | Optional | Description |
|---|---|---|---|
lhs |
String/Number | False | |
rhs |
String/Number | False |
Output
Bool: True if lhs <= rhs
Usage
LESSEQ(<lhs>, <rhs>)
Examples
Example 1
Query
LOAD tmp
AS ('': LESSEQ(5, 2))
Result
false
Example 2
Query
LOAD tmp
AS ('': LESSEQ(5, 5))
Result
true
Example 3
Query
LOAD tmp
AS ('': LESSEQ("A", "B"))
Result
true