">: </span><a href="random-element.html#E"><span class="identifier">E</span></a><span class="symbol">?</span></code>
<p>Extension function on any list that will return a random element from index 0
to the last index</p>
</td>
</tr>
<tr>
<td>
<p><a href="random-elements.html">randomElements</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coll