or
Call Signature
Section titled “Call Signature”or(
expressions):Expression
Defined in: src/query/expression.ts:396
At least one of these must hold.
A single expression is returned unwrapped.
Parameters
Section titled “Parameters”expressions
Section titled “expressions”readonly Expression[]
The expressions, as separate arguments or one array.
Returns
Section titled “Returns”Throws
Section titled “Throws”If given nothing to combine.
Example
Section titled “Example”or(eq("status", "open"), not(exists("closedAt")))Call Signature
Section titled “Call Signature”or(…
expressions):Expression
Defined in: src/query/expression.ts:397
At least one of these must hold.
A single expression is returned unwrapped.
Parameters
Section titled “Parameters”expressions
Section titled “expressions”…Expression[]
The expressions, as separate arguments or one array.
Returns
Section titled “Returns”Throws
Section titled “Throws”If given nothing to combine.
Example
Section titled “Example”or(eq("status", "open"), not(exists("closedAt")))