Skip to main content

convertQuery()

convertQuery(query)

convertQuery(query): 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:117

convertQuery(query)

convertQuery(query): 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:122


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.