Skip to main content
Module

x/atlas_sdk/deps.ts>Long.fromString

TypeSafe MongoDB Atlas Data API SDK for Deno, Deno Deploy and Node.js
Latest
method Long.fromString
import { Long } from "https://deno.land/x/atlas_sdk@v1.1.3/deps.ts";

Returns a Long representation of the given string, written using the specified radix.

Parameters

str: string
  • The textual representation of the Long
optional
unsigned: boolean
  • Whether unsigned or not, defaults to signed
optional
radix: number
  • The radix in which the text is written (2-36), defaults to 10

Returns

The corresponding Long value