minigame-std
Version:
Mini Game Standard Development Library.
30 lines (17 loc) • 599 B
Markdown
[**minigame-std**](../../../README.md)
***
[minigame-std](../../../README.md) / [fs](../README.md) / remove
# Function: remove()
```ts
function remove(path): AsyncVoidIOResult
```
删除文件或目录。
## Parameters
| Parameter | Type | Description |
| ------ | ------ | ------ |
| `path` | `string` | 要删除的文件或目录的路径。 |
## Returns
`AsyncVoidIOResult`
删除成功返回 true 的异步操作结果。
## Defined in
[src/std/fs/fs\_async.ts:104](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/fs/fs_async.ts#L104)