Skip to main content
Module

x/mongo/mod.ts>Bson.UUID#equals

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Bson.UUID.prototype.equals
Re-export
import { Bson } from "https://deno.land/x/mongo@v0.31.1/mod.ts";
const { UUID } = Bson;

Compares the equality of this UUID with otherID.

Parameters

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

Returns

boolean