Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/uuid/mod.ts>v1.validate

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function v1.validate
import { v1 } from "https://deno.land/std@0.160.0/uuid/mod.ts";
const { validate } = v1;

Validates the UUID v1.

Parameters

id: string

UUID value.

Returns

boolean