tor-element-throws-t"><div class="p">
    <p>Return an <code>Array</code> containing the non-nil results of mapping
<code>transform</code> over <code>self</code>.</p>

<p><strong>Complexity:</strong> O(<em>M</em> + <em>N</em>), where <em>M</em> is the length of <code>self</code>
  and <em>N</em> is the length of the result.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func flatMap&lt;T&gt;(@noescape transform: (Generator.Element) throws -&gt; T?) rethrows -&gt; [T]</code>
    
        