.set()
Sets a new value to the value of the provided key.
set(key, value, encrypt)
Parameter | Default | Description |
key |
| The target key |
value |
| Any The value to set |
encrypt |
| Whether or not to encrypt the value before setting it |
Returns | Description |
Any | The updated data from the provided key's root |
Also allows the use of dot notation:
Last updated