Skip to main content

UngroupMethod()

Defined in: packages/core/src/utils/queryTools.ts:736

UngroupMethod<RG extends RuleGroupTypeAny>(query: RG, pathOrID: string | Path, options?: UngroupOptions): RG

Defined in: packages/core/src/utils/queryTools.ts:737

Type Parameters​

Type Parameter
RG extends RuleGroupTypeAny

Parameters​

ParameterTypeDescription
queryRGThe query to update.
pathOrIDstring | PathThe path or ID of the group to ungroup.
options?UngroupOptionsOptions.

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.