randomInt¶
fun randomInt(): PreparedProvider<Int>
Provider for a random integer.
See also¶
-
random: Learn more about random values and reproducibility. -
Random.nextInt: Standard library. -
Random.Default.nextInt: Direct value equivalent.
fun randomInt(from: Int, until: Int): PreparedProvider<Int>
Provider for a random integer.
See also¶
-
random: Learn more about random values and reproducibility. -
Random.nextInt: Standard library. -
Random.Default.nextInt: Direct value equivalent.