Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Bson.UUID.createFromHexString
Re-export
import { Bson } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
const { UUID } = Bson;

Creates an UUID from a hex string representation of an UUID.

Parameters

hexString: string
  • 32 or 36 character hex string (dashes excluded/included).