Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/data/deps.ts>mongo.Long.fromValue

An ecosystem delivering practices, philosophy and portability.
Go to Latest
method mongo.Long.fromValue
Re-export
import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { Long } = mongo;

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