Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/lib
randomInt
Function randomInt
Generates random integer between min and max (inclusive)
randomInt
(
min
?:
number
,
max
?:
number
)
:
number
Parameters
min
:
number
= 0
Minimum value
max
:
number
= 9
Maximum value
Returns
number
Random integer
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Welshman Docs
Loading...
Generates random integer between min and max (inclusive)