Skip to main content
Module

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

MongoDB driver for Deno
Very Popular
Go to Latest
method Bson.Long.prototype.subtract
import { Bson } from "https://deno.land/x/mongo@v0.31.2/mod.ts";
const { Long } = Bson;

Returns the difference of this and the specified Long.

Parameters

subtrahend:
| string
| number
| Long
  • Subtrahend

Returns

Difference