ndex.html#type-t">t</a></span></code></dt><dt class="spec value" id="val-random_element"><a href="#val-random_element" class="anchor"></a><code><span class="keyword">val</span> random_element : <span>?&#8288;random_state:Base__.Random.State.t</span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> option</span></code></dt><dt class="spec value" id="val-random_element_exn"><a href="#val-random_