/ fm / liveswitch / Randomizer
Class: Randomizer
fm.liveswitch.Randomizer
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new Randomizer(): Randomizer
Returns: Randomizer
Properties
_randomCharset
▪ Private
Static
_randomCharset: string= 'abcdefghijklmnopqrstuvwxyz0123456789'
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:6
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:3
next
▸ next(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:7
▸ next(maxValue
: number): number
Parameters:
Name | Type |
---|---|
maxValue |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:8
▸ next(minValue
: number, maxValue
: number): number
Parameters:
Name | Type |
---|---|
minValue |
number |
maxValue |
number |
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:9
nextBytes
▸ nextBytes(buffer
: Uint8Array): void
Parameters:
Name | Type |
---|---|
buffer |
Uint8Array |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:25
nextDouble
▸ nextDouble(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:22
randomString
▸ randomString(size
: number): string
Parameters:
Name | Type |
---|---|
size |
number |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Randomizer.ts:30