Skip to main content
Latest
method Bson.Long.prototype.toInt
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.ts";
const { Long } = Bson;

Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.

Returns

number