Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
randomOrNull
Returns a random element from this range, or null
if this range is empty.
Returns a random element from this range using the specified source of randomness, or null
if this range is empty.