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

x/polkadot/mod.ts>util.nToBigInt

Package publishing for deno.land/x/polkadot
Go to Latest
function util.nToBigInt
import { util } from "https://deno.land/x/polkadot@0.2.27/mod.ts";
const { nToBigInt } = util;

Type Parameters

ExtToBn extends ToBigInt | ToBn

Parameters

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

Returns

bigint