minigame-std
Version:
Mini Game Standard Development Library.
24 lines (13 loc) • 463 B
Markdown
[**minigame-std**](../../../README.md)
***
[minigame-std](../../../README.md) / [platform](../README.md) / isWeb
# Function: isWeb()
```ts
function isWeb(): boolean
```
判断当前是否在 Web 环境中。
## Returns
`boolean`
如果在 Web 现境中返回 true,否则返回 false。
## Defined in
[src/std/platform/target.ts:44](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/platform/target.ts#L44)