Skip to main content

convertToIC()

convertToIC<RG>(rg: RG): ToRuleGroupTypeIC<RG>

Defined in: packages/core/src/utils/convertQuery.ts:113

Converts a RuleGroupType to RuleGroupTypeIC.

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

Type Parameters

Type Parameter
RG extends RuleGroupTypeAny

Parameters

ParameterType
rgRG

Returns

ToRuleGroupTypeIC<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.