- Preparing search index...
- The search index is not available
bun-types
Methods
getRandomValues
- getRandomValues<T>(array: T): T
-
Type Parameters
-
T extends TypedArray = TypedArray
Returns T
- getRandomValues<T>(array: T): T
-
Type Parameters
-
T extends TypedArray = TypedArray
Returns T
randomUUID
- randomUUID(): string
-
Returns string
- randomUUID(): string
-
Returns string
Generate a cryptographically secure random UUID.
Example