   <p>Returns the first element of the sequence that satisfies the given
predicate or nil if no such element is found.</p>

<p><strong><code>predicate</code>:</strong>  A closure that takes an element of the
  sequence as its argument and returns a Boolean value indicating
  whether the element is a match.
<strong>Returns:</strong> The first match or <code>nil</code> if there was no match.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func first(where predicate: (Iterator.Element) throw