[**minigame-std**](../../../README.md)

***

[minigame-std](../../../README.md) / [storage](../README.md) / clear

# Function: clear()

```ts
function clear(): AsyncVoidIOResult
```

Defined in: [src/std/storage/mod.ts:64](https://github.com/JiangJie/minigame-std/blob/ff3594872b1efbdbc13aabe99588385e855b50dc/src/std/storage/mod.ts#L64)

清除所有的本地存储数据。

## Returns

`AsyncVoidIOResult`

返回一个 Promise，表示操作完成。
