Skip to main content
Module

x/web_bson/mod.d.ts>Long.fromValue

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method Long.fromValue
import { Long } from "https://deno.land/x/web_bson@v0.3.0/mod.d.ts";

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