Skip to main content

removeRE()

removeRE<RE>(rulesEngine: RE, conditionPathOrID: string | Path): RE

Defined in: packages/rules-engine/src/utils/rulesEngineTools.ts:116

Removes a rule engine condition from a rules engine.

Type Parameters

Type Parameter
RE extends RulesEngineAny

Parameters

ParameterTypeDescription
rulesEngineREThe rules engine to update.
conditionPathOrIDstring | PathPath or ID of the rules engine condition to remove.

Returns

RE

The new rules engine with the condition removed.


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.