lte
lte(
key,value):Predicate
Defined in: src/query/predicate.ts:125
Creates a less than or equal predicate
Parameters
Section titled “Parameters”string
The key to compare
The value to compare
string | number
Returns
Section titled “Returns”The less than or equal predicate
Example
Section titled “Example”const predicate = lte("name", "John")// result = { type: "lte", key: "name", value: "John" }