1
0
Fork 0
freesewing/sites/dev/docs/reference/api/store/unset/readme.mdx

22 lines
331 B
Text
Raw Normal View History

---
title: Store.unset()
---
The `Store.unset()` value removes a `key` from the store.
## Signature
```js
Store store.unset(string key)
```
2024-09-29 07:14:59 +02:00
:::tip
This method is chainable as it returns the `Store` object
:::
## Example
```js
2024-09-29 07:14:59 +02:00
const store = new Store().set('example', 'I will be gone before you know it').unset('example')
```