function uuidV4(randomBytes): string

Returns the version 4 UUID for the randomBytes.

Parameters

ParameterTypeDescription
randomBytesBytesLikeThe random bytes to use.

Returns

string

The UUID.

Source

utils/uuid.ts:15