Skip to main content

nativeOperators

const nativeOperators: Record<string, (factVal: unknown, compareVal: unknown) => boolean>

Defined in: rules-engine/src/utils/formatRulesEngine/nativeOperators.ts:54

Evaluators for every React Query Builder default operator, comparing a fact value against the value stored on a rule. Used by the "native" and "node-rules" export targets to evaluate antecedents in process. Unknown operators evaluate to false.


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.