regenerateREIDs()
regenerateREIDs<
REC>(subject:REC,__namedParameters:RegenerateIdOptions):REC& {id:string; }
Defined in: packages/rules-engine/src/utils/regenerateREIDs.ts:10
Recursively generates new id properties for a rule group or rules engine and all
its rules/conditions and subgroups/subconditions.
Type Parameters
| Type Parameter |
|---|
REC extends REConditionAny | RulesEngineAny |
Parameters
| Parameter | Type |
|---|---|
subject | REC |
__namedParameters | RegenerateIdOptions |
Returns
REC & { id: string; }
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.