v1ToV6
v1ToV6(
value):string
Defined in: src/uuid/v6.ts:70
Convert a version 1 UUID into the equivalent, sortable version 6.
Lossless: the same timestamp, clock sequence and node, rearranged.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
Example
Section titled “Example”v1ToV6("c232ab00-9414-11ec-b3c8-9f6bdeced846");// "1ec9414c-232a-6b00-b3c8-9f6bdeced846"