prepareRulesEngine()
prepareRulesEngine<
RE>(rulesEngine:RE,__namedParameters:PreparerOptionsRE):RE
Defined in: packages/rules-engine/src/utils/prepareRulesEngine.ts:40
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
| Parameter | Type |
|---|---|
rulesEngine | RE |
__namedParameters | PreparerOptionsRE |
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.