Skip to main content

UpdateMethodRE()

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

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

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

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.