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