Skip to content

gte(key, value): Predicate

Defined in: src/query/predicate.ts:97

Creates a greater than or equal predicate

string

The key to compare

The value to compare

string | number

Predicate

The greater than or equal predicate

const predicate = gte("name", "John")
// result = { type: "gte", key: "name", value: "John" }