## MemoryStorage.clear() method [​](/content/docs/sdk/core.memorystorage.clear#memorystorageclear-method "Direct link to MemoryStorage.clear(/index.html) method")

Removes all key/value pairs, if there are any.

**Signature:**

```typescript
clear(): void;
```

**Returns:**

void

- [MemoryStorage.clear() method](/content/docs/sdk/core.memorystorage.clear#memorystorageclear-method/index.html)
