mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 05:38:03 +00:00
8 lines
344 B
TypeScript
8 lines
344 B
TypeScript
import type { BN } from '../bn/bn.js';
|
|
import type { ToBigInt, ToBn } from '../types.js';
|
|
/**
|
|
* @name nToBigInt
|
|
* @summary Creates a bigInt value from a BN, bigint, string (base 10 or hex) or number input.
|
|
*/
|
|
export declare function nToBigInt<ExtToBn extends ToBigInt | ToBn>(value?: ExtToBn | BN | bigint | string | number | null): bigint;
|