Wrapper
class
Wrapper
Constructor
Properties
__value__
bigint
wrapperName
string
Methods
isBigIntWrapper
isBigIntWrapper(): boolean
Returns:
booleanisNegative
isNegative(): boolean
Returns:
booleanisPositive
isPositive(): boolean
Returns:
booleanisZero
isZero(): boolean
Returns:
booleanmutateAbs
mutateAbs(): this
Returns:
thismutateNegate
mutateNegate(): this
Returns:
thistoBaseBufferBE
toBaseBufferBE(width: number): Buffer
Parameters:
width: number
Returns:
BuffertoBaseBufferLE
toBaseBufferLE(width: number): Buffer
Parameters:
width: number
Returns:
BuffertoNumber
toNumber(): number
Returns:
numbertoString
toString(base: number): string
Parameters:
base: number
Returns:
stringunwrap
unwrap(): bigint
Returns:
bigint[hasInstance]
[hasInstance](instance: unknown): boolean
Parameters:
instance: unknown
Returns:
booleanisUnderlyingInstance
isUnderlyingInstance(value: unknown): any
Parameters:
value: unknown
Returns:
anyAccessors
[BigIntWrapperIdSymbol]
