Properties
__isLong__
__isLong__: boolean
comp
comp: ((other) => 0 | 1 | -1)
Type declaration
- 
- (other): 0 | 1 | -1
 
- 
Returns 0 | 1 | -1
 
 
 
compare
compare: ((other) => 0 | 1 | -1)
divide
divide: ((divisor) => Long) 
eq
eq: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
equals
equals: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
eqz
eqz: (() => boolean)
Type declaration
- 
- (): boolean
 
- 
Returns boolean
 
 
 
ge
ge: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
getHighBits
getHighBits: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
getHighBitsUnsigned
getHighBitsUnsigned: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
getLowBits
getLowBits: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
getLowBitsUnsigned
getLowBitsUnsigned: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
getNumBitsAbs
getNumBitsAbs: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
greaterThan
greaterThan: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
greaterThanOrEqual
greaterThanOrEqual: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
gt
gt: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
gte
gte: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
isEven
isEven: (() => boolean)
Type declaration
- 
- (): boolean
 
- 
Returns boolean
 
 
 
isNegative
isNegative: (() => boolean)
Type declaration
- 
- (): boolean
 
- 
Returns boolean
 
 
 
isOdd
isOdd: (() => boolean)
Type declaration
- 
- (): boolean
 
- 
Returns boolean
 
 
 
isPositive
isPositive: (() => boolean)
Type declaration
- 
- (): boolean
 
- 
Returns boolean
 
 
 
isZero
isZero: (() => boolean)
Type declaration
- 
- (): boolean
 
- 
Returns boolean
 
 
 
le
le: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
lessThan
lessThan: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
lessThanOrEqual
lessThanOrEqual: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
lt
lt: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
lte
lte: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
modulo
modulo: ((divisor) => Long) 
mul
mul: ((multiplier) => Long) 
multiply
multiply: ((multiplier) => Long) 
Type declaration
- 
- (multiplier): Long
 
- 
Product
 
 
 
ne
ne: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
neq
neq: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
notEquals
notEquals: ((other) => boolean)
Type declaration
- 
- (other): boolean
 
- 
Returns boolean
 
 
 
or
Type declaration
- 
- (other): Long
 
- 
Parameters
- 
other: string | number | Long
 
 
 
 
 
shiftLeft
shiftLeft: ((numBits) => Long) 
Type declaration
- 
- (numBits): Long
 
- 
Shifted Long
 
 
 
shiftRight
shiftRight: ((numBits) => Long) 
Type declaration
- 
- (numBits): Long
 
- 
Shifted Long
 
 
 
shiftRightUnsigned
shiftRightUnsigned: ((numBits) => Long) 
Type declaration
- 
- (numBits): Long
 
- 
Shifted Long
 
 
 
shr_u
shr_u: ((numBits) => Long) 
shru
shru: ((numBits) => Long) 
sub
sub: ((subtrahend) => Long) 
subtract
subtract: ((subtrahend) => Long) 
Type declaration
- 
- (subtrahend): Long
 
- 
Difference
 
 
 
toBigInt
toBigInt: (() => bigint)
Type declaration
- 
- (): bigint
 
- 
Returns bigint
 
 
 
toBytes
toBytes: ((le?) => number[])
Type declaration
- 
- (le?): number[]
 
- 
Returns number[]
Byte representation
 
 
 
toBytesBE
toBytesBE: (() => number[])
toBytesLE
toBytesLE: (() => number[])
toInt
toInt: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
toNumber
toNumber: (() => number)
Type declaration
- 
- (): number
 
- 
Returns number
 
 
 
toString
toString: ((radix?) => string)
Type declaration
- 
- (radix?): string
 
- 
Returns string
 
 
 
unsigned
unsigned: boolean
xor
Type declaration
- 
- (other): Long
 
- 
Parameters
- 
other: string | number | Long
 
 
 
 
 
Static Readonly MAX_VALUE
 
A 64-bit bigint representing the Timestamp.