Skip to main content

jsonRulesEngineAdditionalOperators

const jsonRulesEngineAdditionalOperators: Record<string, OperatorEvaluator<unknown, unknown>>

Defined in: rules-engine/src/utils/formatRulesEngine/defaultRulesEngineProcessorJsonRulesEngine.ts:23

Operator evaluators for the React Query Builder operators that have no json-rules-engine built-in equivalent. Register these on an Engine so that rules exported by formatRulesEngine which use these operators can be evaluated—either manually via engine.addOperator(...), or automatically by passing the engine as context.engine to formatRulesEngine.


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.