minigame-std
Version:
Mini Game Standard Development Library.
22 lines (12 loc) • 455 B
Markdown
[**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/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/storage/mod.ts#L64)
清除所有的本地存储数据。
## Returns
`AsyncVoidIOResult`
返回一个 Promise,表示操作完成。