# clear

Clear is a function that we use to change the object's **`values`** to be **`null`**

```
dispatch(clear('DESTINATION'));
```

**Example:** Clear User

```javascript
await dispatch(clear('User'))
```

<figure><img src="https://2096029297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa8hQdsN7Pv00B1Pt9tuc%2Fuploads%2FRQxQ2ijmqVjqRoaaLqPf%2F68747470733a2f2f766e73656174746c652e636f6d2f64796e616d6963526564756365722f636c6561724f626a6563742e706e67.png?alt=media&#x26;token=e9f77f7b-a380-476f-b00b-c07ddb6d2d97" alt=""><figcaption></figcaption></figure>

<br>

\ <br>

<br>
