Skip to main content
Module

std/uuid/mod.ts>v1.validate

Deno standard library
Go to Latest
function v1.validate
import { v1 } from "https://deno.land/std@0.151.0/uuid/mod.ts";
const { validate } = v1;

Validates the UUID v1.

Parameters

id: string

UUID value.

Returns

boolean