UNARY_OPERATORS
const UNARY_OPERATORS: readonly ["isNull", "isNotNull"];Defined in: filters/operators.ts:33
The unary operators — isNull / isNotNull take no argument. Every kind
accepts them.
Example
Section titled “Example”Skip the value input for an argument-less operator
import { UNARY_OPERATORS } from "@xtandard/lib/filters";
const needsValue = (op: string) => !(UNARY_OPERATORS as readonly string[]).includes(op);needsValue("isNull"); // → falseneedsValue("eq"); // → true