• A shorthand function for new UUID(uuid)

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

    Parameters

    • uuid: string | 4 | 7

    Returns UUID