Skip to content

getRandomInt

getRandomInt(min, max): number

Defined in: src/util/internals/getRandomInt.ts:7

Returns random number between 2 specified ones.

Parameters

min

number

lower limit

max

number

upper limit

Returns

number

random value (between min and max)