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