method mongo.Bson.ObjectId.isValidRe-exportimport { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts"; const { ObjectId } = mongo.Bson; isValid(id: | string | number | ObjectId | Uint8Array): booleanChecks if a value is a valid bson ObjectId Parametersid: | string | number | ObjectId | Uint8Array ObjectId instance to validate. Returnsboolean