Skip to main content

RemoveMethod()

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

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

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

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.
options?RemoveOptionsOptions.

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.