Create an ObjectId type
Optional inputId: string | number | Uint8Array | ObjectId | ObjectIdLikeCan be a 24 character hex string, 12 byte binary Buffer, or a number.
Static cacheThe ObjectId bytes
Compares the equality of this ObjectId with otherID.
ObjectId instance to compare against.
Static createStatic createStatic createStatic generateStatic isChecks if a value can be used to create a valid bson ObjectId
any JS value
Generated using TypeDoc
A class representation of the BSON ObjectId type.