Skip to main content
Module

x/mongo/deps.ts>Long.fromValue

MongoDB driver for Deno
Very Popular
Go to Latest
method Long.fromValue
import { Long } from "https://deno.land/x/mongo@v0.31.2/deps.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