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

Source

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

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

Source

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


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.