Skip to main content

UpdateMethodRE()

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

UpdateMethodRE<RE>(rulesEngine: RE, property: string, value: any, conditionPathOrID: string | Path, options?: UpdateOptionsRE): RE

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

Type Parameters

Type Parameter
RE extends RulesEngineAny

Parameters

ParameterTypeDescription
rulesEngineREThe query to update.
propertystringThe name of the property to update.
valueanyThe new value of the property.
conditionPathOrIDstring | PathPath or ID of the rules engine condition to update.
options?UpdateOptionsREOptions.

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.