cmp
cmp(Expr, Expr, Expr)
Produces the result of performing the comparison specified by it's first argument to it's 2nd and third arugments. Valid comparisons are encoded as strings, and are called,
- eq: true if the arguments are equal
- lt: true if the first argument is less than the second one
- lte: true if the first argument is less than or equal to the second one
- gt: true if the first argument is greater than the second one
- gte: true if the first argument is greater than or equal to the second one
e.g.
cmp("lt", load("/volume"), 11)
is true if the volume is less than 11, false otherwise.