Module

x/web_bson/mod.d.ts>ObjectId.createFromHexString

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method ObjectId.createFromHexString
import { ObjectId } from "https://dotland.deno.dev/x/web_bson@v0.3.0/mod.d.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.