Skip to content

EQUALITY_OPERATORS

const EQUALITY_OPERATORS: readonly ["eq", "ne"];

Defined in: filters/operators.ts:129

The equality operators eq / ne — the single-value operators of the enum and boolean kinds.

import { EQUALITY_OPERATORS } from "@xtandard/lib/filters";
EQUALITY_OPERATORS; // → ["eq", "ne"]
(EQUALITY_OPERATORS as readonly string[]).includes("ne"); // → true