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

x/aether/deps.ts>Bson.UUID.isValid

A Deno library to interface with the Discord API
Latest
method Bson.UUID.isValid
Re-export
import { Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { UUID } = Bson;

Checks if a value is a valid bson UUID

Parameters

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

Returns

boolean