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

Converts the specified value to a Long.

Parameters

val: number | string | { low: number; high: number; unsigned?: boolean; }
  • Whether unsigned or not, defaults to signed
optional
unsigned: boolean