random
Returns a random element from this range.
Since Kotlin
1.3Throws
if this range is empty.
Returns a random element from this range using the specified source of randomness.
Since Kotlin
1.3Throws
if this range is empty.
Returns a random element from this range.
Since Kotlin
1.5Throws
if this range is empty.
Returns a random element from this range using the specified source of randomness.
Since Kotlin
1.5Throws
if this range is empty.