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