randomIntBetween

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

A random integer from min to max (inclusive).

See also

.scaledRandomIntBetween