Skip to main content

regenerateID()

regenerateID(rule: RuleType<string, string, any, string>, __namedParameters: RegenerateIdOptions): RuleType<string, string, any, string>

Generates a new id property for a rule.

Parameters

ParameterType
ruleRuleType<string, string, any, string>
__namedParametersRegenerateIdOptions

Returns

RuleType<string, string, any, string>

Defined in

packages/react-querybuilder/src/utils/regenerateIDs.ts:22


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.