Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/model/dependencies/mongo.ts>Bson.UUID#equals

model based mongo for deno
Latest
method Bson.UUID.prototype.equals
Re-export
import { Bson } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
const { UUID } = Bson;

Compares the equality of this UUID with otherID.

Parameters

otherId: string | Uint8Array | UUID
  • UUID instance to compare against.

Returns

boolean