Skip to main content
Module

std/uuid/mod.ts>v4.validate

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

Validates the UUID v4.

Parameters

id: string

UUID value.

Returns

boolean