Skip to main content

convertQuery()

Call Signature

convertQuery(query: RuleGroupType<RuleType<string, string, any, string>, string>): RuleGroupTypeIC

Converts a RuleGroupType to RuleGroupTypeIC. For a more explicit operation, use convertToIC.

Parameters

ParameterType
queryRuleGroupType<RuleType<string, string, any, string>, string>

Returns

RuleGroupTypeIC

Defined in

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

Call Signature

convertQuery(query: RuleGroupTypeIC<RuleType<string, string, any, string>, string>): RuleGroupType

Converts a RuleGroupTypeIC to RuleGroupType. For a more explicit operation, use convertFromIC.

Parameters

ParameterType
queryRuleGroupTypeIC<RuleType<string, string, any, string>, string>

Returns

RuleGroupType

Defined in

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


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.