Skip to main content
Module

x/denomongo_unittest_utils/deps.ts>Bson.Long.fromValue

Unittest utilities for deno_mongo
Latest
method Bson.Long.fromValue
Re-export
import { Bson } from "https://deno.land/x/denomongo_unittest_utils@v0.5.3/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