Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Int

Index

Constructors

constructor

  • new Int(int: bigInteger.BigNumber, base?: bigInteger.BigNumber, alphabet?: undefined | string, caseSensitive?: undefined | false | true): Int
  • Parameters

    • int: bigInteger.BigNumber

      Parse a number | bigInteger | string into a bigInt. Remaing parameters only will be used when type of int is string.

    • Optional base: bigInteger.BigNumber

      Default base is 10.

    • Optional alphabet: undefined | string

      Default alphabet is "0123456789abcdefghijklmnopqrstuvwxyz".

    • Optional caseSensitive: undefined | false | true

      Defaults to false.

    Returns Int

Methods

add

div

equals

  • equals(i: Int): boolean

gt

  • gt(i: Int): boolean

gte

  • gte(i: Int): boolean

lt

  • lt(i: Int): boolean

lte

  • lte(i: Int): boolean

marshalAmino

  • marshalAmino(): string

mod

mul

neg

sub

toString

  • toString(): string

Generated using TypeDoc