Skip to main content

prepareRulesEngine()

prepareRulesEngine<RE extends RulesEngineAny>(rulesEngine: RE, __namedParameters?: PreparerOptionsRE): RE

Defined in: rules-engine/src/utils/prepareRulesEngine.ts:61

Ensures that a rule group is valid by recursively adding an id property to the group itself and all its rules and subgroups where one does not already exist.

Type Parameters​

Type Parameter
RE extends RulesEngineAny

Parameters​

ParameterType
rulesEngineRE
__namedParametersPreparerOptionsRE

Returns​

RE


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.