Skip to main content

AddMethodRE()

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

AddMethodRE<RE>(rulesEngine: RE, subject: REConditionAny, parentConditionPathOrID: string | Path, options?: AddOptionsRE): RE

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

Type Parameters

Type Parameter
RE extends RulesEngineAny

Parameters

ParameterTypeDescription
rulesEngineREThe rules engine to update.
subjectREConditionAnyThe rules engine condition to add.
parentConditionPathOrIDstring | PathPath or ID of the rules engine condition to add to.
options?AddOptionsREOptions.

Returns

RE


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.