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

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

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

Type Parameters

ExtToBn extends ToBigInt | ToBn

Parameters

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

Returns

bigint