nextInt

fun nextInt(min: Int, max: Int): Int

Returns a pseudo-generated random number.

Return

the random number between min and max (inclusive, exclusive)

Parameters

min

minimum bound (inclusive)

max

maximum bound (exclusive)