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

22 lines
335 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)
```
:::tipThis method is chainable as it returns the `Store` object:::
## Example
```js
const store = new Store()
.set('example', 'I will be gone before you know it')
.unset('example')
```