Skip to main content
Module

x/enzastdlib/vendor/@deno-std-uuid.ts>version

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
function version
import { version } from "https://deno.land/x/enzastdlib@v0.0.4/vendor/@deno-std-uuid.ts";

Detect RFC version of a UUID.

import { version } from "https://deno.land/std@0.224.0/uuid/mod.ts"

version("d9428888-122b-11e1-b85c-61cd3cbb3210") // 1
version("109156be-c4fb-41ea-b1b4-efe1671c5836") // 4

Parameters

uuid: string

Returns

number