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