Skip to main content
Module

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

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

Gets the number of bits needed to represent the absolute value of this Long.

Returns

number