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

x/mongo/mod.ts>UUID#toHexString

MongoDB driver for Deno
Extremely Popular
Go to Latest
method UUID.prototype.toHexString
Re-export
import { UUID } from "https://deno.land/x/mongo@v0.31.1/mod.ts";

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