function random
source · line 12public
public fun <T> Sequence<T>.random(random: Random): T
Extension receiver: Sequence<T>
Consumes this sequence. Selects one element using the supplied random source; empty input throws NoSuchElementException.
type parameter T
source · line 12public
T
parameter receiver
source · line 12public
Sequence<T>
parameter random
source · line 12public
random: Random