convertFromIC()
convertFromIC<
RG
>(rg
):RG
Converts a RuleGroupTypeIC to RuleGroupType.
This function is idempotent: RuleGroupType queries will be returned as-is.
Type Parameters
Type Parameter | Default type |
---|---|
RG extends RuleGroupType <RuleType <string , string , any , string >, string > | RuleGroupType <RuleType <string , string , any , string >, string > |
Parameters
Parameter | Type |
---|---|
rg | RuleGroupTypeIC <RuleType <string , string , any , string >, string > |
Returns
RG
Defined in
packages/react-querybuilder/src/utils/convertQuery.ts:70
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.