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).
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
path | string[] | undefined |
amount? | number | 1 |