Suite • opensavvy.prepared.suite.random • Random
Random
class Random
Random control helper. See random.
Functions
accessUnsafe
suspend fun accessUnsafe(): Random
Gives uncontrolled access to the underlying Random.
nextBits
Generates random bits.
nextBoolean
suspend fun Random.nextBoolean(): Boolean
Generates a random boolean.
nextDouble
suspend fun Random.nextDouble(): Double
Generates a random double.
suspend fun Random.nextDouble(from: Double, until: Double): Double
Generates a random double.