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

x/aether/deps.ts>Bson.UUID#toHexString

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

Returns the UUID id as a 32 or 36 character hex string representation, excluding/including dashes (defaults to 36 character dash separated)

Parameters

optional
includeDashes = [UNSUPPORTED]
  • should the string exclude dash-separators.

Returns

string