Skip to main content

RemoveMethod()

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

RemoveMethod<RG>(query: RG, pathOrID: string | Path): RG

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

Type Parameters

Type Parameter
RG extends RuleGroupTypeAny

Parameters

ParameterTypeDescription
queryRGThe query to update.
pathOrIDstring | PathThe path or ID of the rule or group to remove.

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.