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

x/web_bson/src/bson.ts>ObjectId.createFromHexString

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
method ObjectId.createFromHexString
Re-export
import { ObjectId } from "https://deno.land/x/web_bson@v0.2.5/src/bson.ts";

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

Parameters

hexString: string
  • create a ObjectId from a passed in 24 character hexstring.