Skip to main content

convertFromIC()

convertFromIC<RG>(rg: RuleGroupTypeAny): RG

Defined in: packages/react-querybuilder/src/utils/convertQuery.ts:71

Converts a RuleGroupTypeIC to RuleGroupType.

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

Type Parameters

Type ParameterDefault type
RG extends RuleGroupTypeRuleGroupType

Parameters

ParameterType
rgRuleGroupTypeAny

Returns

RG


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.