跳转到内容

getRandomInt

getRandomInt(min, max): number

Parameters

min: number

lower limit

max: number

upper limit

Returns

number

random value (between min and max)

Defined in

src/util/internals/getRandomInt.ts:7