function v4.validateimport { v4 } from "https://deno.land/std@0.208.0/uuid/mod.ts"; const { validate } = v4; validate(id: string): booleanValidate that the passed UUID is an RFC4122 v4 UUID. ExamplesExample 1 import { validate } from "https://deno.land/std@0.208.0/uuid/v4.ts"; import { generate as generateV1 } from "https://deno.land/std@0.208.0/uuid/v1.ts"; validate(crypto.randomUUID()); // true validate(generateV1() as string); // false validate("this-is-not-a-uuid"); // false Parametersid: stringReturnsboolean