Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mongo/mod.ts>Bson.Long#divide

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

Returns this Long divided by the specified. The result is signed if this Long is signed or unsigned if this Long is unsigned.

Parameters

divisor:
| string
| number
| Long
| Timestamp

Returns

Long

Quotient