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

x/hex/src/data/deps.ts>mongo.UUID.createFromHexString

An ecosystem delivering practices, philosophy and portability.
Go to Latest
method mongo.UUID.createFromHexString
Re-export
import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { UUID } = mongo;

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

Parameters

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