Skip to content

decrement

decrement(path, amount?): Action

Defined in: actions/helpers.ts:19

['action/decrement', path, amount]: subtract amount from the number at path (missing counts as 0).

ParameterTypeDefault value
pathstring[]undefined
amount?number1

Action