Skip to main content
Module

x/mongo/deps.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.0/deps.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