Search
Preparing search index...
The search index is not available
near-sdk-core
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"sdk-core/assembly/math"
RNG
Class RNG<T>
Random Number Generator
Type parameters
T
Hierarchy
RNG
Index
Constructors
constructor
Properties
max
Methods
next
Constructors
constructor
new RNG
(
len
:
u32
, max
?:
u32
)
:
RNG
Parameters
len:
u32
Default value
max:
u32
= 10000
Returns
RNG
Properties
max
max
:
u32
Methods
next
next
(
)
:
T
Returns
T
Globals
"sdk-
core/assembly/math"
math
RNG
constructor
max
next
Generated using
TypeDoc
Random Number Generator