Skip to content

increment

increment(path, amount?): Action

Defined in: actions/helpers.ts:15

['action/increment', path, amount]: add amount to the number at path (missing counts as 0).

ParameterTypeDefault value
pathstring[]undefined
amount?number1

Action