Skip to main content

Function: v7()

Call Signature

v7(options?, buf?, offset?): string

Generate a v7 (Unix epoch time-based) UUID.

Parameters

options?

Version7Options

buf?

undefined

offset?

number

Returns

string

Call Signature

v7<TBuf>(options, buf, offset?): TBuf

Generate a v7 (Unix epoch time-based) UUID.

Type Parameters

TBuf

TBuf extends Uint8Array<ArrayBufferLike> = Uint8Array<ArrayBufferLike>

Parameters

options

Version7Options | undefined

buf

TBuf

offset?

number

Returns

TBuf