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
| Parameter | Type | Description |
|---|---|---|
rulesEngine | RE | The rules engine to update. |
conditionPathOrID | string | Path | Path 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.