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

***

[minigame-std](../../../README.md) / [cryptos](../README.md) / randomUUID

# Function: randomUUID()

```ts
function randomUUID(): AsyncIOResult<UUID>
```

生成 UUID。

## Returns

`AsyncIOResult`\<[`UUID`](../type-aliases/UUID.md)\>

UUID 字符串。

## Defined in

[src/std/crypto/random/mod.ts:30](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/crypto/random/mod.ts#L30)
