Skip to content

lte(key, value): Predicate

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

Creates a less than or equal predicate

string

The key to compare

The value to compare

string | number

Predicate

The less than or equal predicate

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