Note:</strong> Using the <code>return</code> statement in the <code>body</code> closure will only
  exit from the current call to <code>body</code>, not any outer scope, and won&#39;t
  skip subsequent calls.</p>

<p><strong>Complexity:</strong> O(<code>self.count</code>)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func forEach(@noescape body: (CodeUnit) throws -&gt; ()) rethrows</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/CollectionType/"><code>Collection