Skip to main content

convertToIC()

convertToIC<RGIC>(rg): RGIC

Converts a RuleGroupType to RuleGroupTypeIC.

This function is idempotent: RuleGroupTypeIC queries will be returned as-is.

Type parameters

Type parameterValue
RGIC extends RuleGroupTypeIC <RuleType<string, string, any, string>, string>RuleGroupTypeIC <RuleType<string, string, any, string>, string>

Parameters

ParameterType
rgRuleGroupType <RuleType<string, string, any, string>, string>

Returns

RGIC

Source

packages/react-querybuilder/src/utils/convertQuery.ts:93


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.