randomElement

abstract val randomElement: T

Returns an element randomly selected from the list

Return

a randomly selected element from the list