method ObjectId.prototype.equalsimport { ObjectId } from "https://dotland.deno.dev/x/web_bson@v0.3.0/mod.d.ts"; equals(otherId: string | ObjectId | ObjectIdLike): booleanCompares the equality of this ObjectId with otherID. Compares the equality of this ObjectId with otherID. ParametersotherId: string | ObjectId | ObjectIdLike ObjectId instance to compare against. Returnsboolean