.subtract()
Subtracts the provided value from the value of the provided key. If no existing number, the provided value will be subtracted from 0 (zero).
subtract(key, value)
Parameter | Description |
key | The key that will have its value decremented |
value | The value to decrement |
Also allows the use of dot notation:
Last updated