Interface BigIntegerStatic

Index

Call signatures

Properties

Call signatures

(): BigInteger

Equivalent to bigInt(0)

Returns

BigInteger

(number: number): BigInteger

Parse a Javascript number into a bigInt

Parameters

  • number: number

Returns

BigInteger

(string: string): BigInteger

Parse a string into a bigInt

Parameters

  • string: string

Returns

BigInteger

(bigInt: BigInteger): BigInteger

no-op

Parameters

Returns

BigInteger

Properties

public minusOne: BigInteger

Equivalent to bigInt(-1)

public one: BigInteger

Equivalent to bigInt(1)

public zero: BigInteger

Equivalent to bigInt(0)