Skip to main content

uuid4()

uuid4(): string

Defined in: js-api/src/u2core/uuid.ts:3

A random v4 UUID. Unlike crypto.randomUUID() this also works outside a secure context — a stand served over plain HTTP on a hostname has no randomUUID.

Returns

string