Methods
boolean
- boolean(): boolean
Returns boolean
a random boolean
float32
- float32(): number
Returns number
a random float32
float32Range
- float32Range(min, max): number
Returns number
a random float32 range
float64
- float64(): number
Returns number
a random float64
float64Range
- float64Range(min, max): number
Returns number
a random float64 range
hexUint128
- hexUint128(): string
Returns string
a random hexuint128
hexUint16
- hexUint16(): string
Returns string
a random hexuint16
hexUint256
- hexUint256(): string
Returns string
a random hexuint256
hexUint32
- hexUint32(): string
Returns string
a random hexuint32
hexUint64
- hexUint64(): string
Returns string
a random hexuint64
hexUint8
- hexUint8(): string
Returns string
a random hexuint8
int16
- int16(): number
Returns number
a random int16
int32
- int32(): number
Returns number
a random int32
int64
- int64(): number
Returns number
a random int64
int8
- int8(): number
Returns number
a random int8
intRange
- intRange(min, max): number
Returns number
a random intrange
number
- number(min, max): number
Returns number
a random number
randomInt
- randomInt(ints): number
Returns number
a random random int
randomUint
- randomUint(uints): number
Returns number
a random random uint
shuffleInts
- shuffleInts(ints): number[]
Returns number[]
a random shuffle ints
uint16
- uint16(): number
Returns number
a random uint16
uint32
- uint32(): number
Returns number
a random uint32
uint64
- uint64(): number
Returns number
a random uint64
uint8
- uint8(): number
Returns number
a random uint8
uintRange
- uintRange(min, max): number
Returns number
a random uintrange
Generator to generate numbers.