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