prepareRule()
prepareRule(
rule
,__namedParameters
):RuleType
<string
,string
,any
,string
>
Ensures that a rule is valid by adding an id
property if it does not already exist.
Parameters
Parameter | Type |
---|---|
rule | RuleType <string , string , any , string > |
__namedParameters | PreparerOptions |
Returns
RuleType
<string
, string
, any
, string
>
Defined in
packages/react-querybuilder/src/utils/prepareQueryObjects.ts:23
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.