</code> uses the default random generator, <code>Random.default</code>. The
call in the example above is equivalent to
<code>Bool.random(using: &amp;Random.default)</code>.</p>

<p><strong>Returns:</strong> Either <code>true</code> or <code>false</code>, randomly chosen with equal
  probability.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">static func random() -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-random-using_">
<a class="toggle-link" data-t