Skip to main content
Module

x/web_bson/mod.d.ts>UUID.isValid

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method UUID.isValid
import { UUID } from "https://deno.land/x/web_bson@v0.3.0/mod.d.ts";

Checks if a value is a valid bson UUID

Parameters

input: string | Uint8Array | UUID
  • UUID, string or Buffer to validate.

Returns

boolean