• A shorthand function for new UUID(uuid)

    uuid(4) and uuid(7) are equivalent to UUID.v4() and UUID.v7(), respectively.

    Parameters

    • uuid: string | 1 | 4 | 6 | 7

    Returns UUID