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