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

x/polkadot/util/bi/index.ts>nToBigInt

Package publishing for deno.land/x/polkadot
Go to Latest
function nToBigInt
import { nToBigInt } from "https://deno.land/x/polkadot@0.2.17/util/bi/index.ts";

Type Parameters

ExtToBn extends ToBigInt | ToBn

Parameters

optional
value:
| HexString
| BN
| bigint
| string
| number
| null

Returns

bigint