shuffle

inline fun shuffle()

Randomly shuffles elements in this array in-place.


fun shuffle(random: Random)

Randomly shuffles elements in this array in-place using the specified random instance as the source of randomness.