ode>.</p>

<p><strong>Note:</strong> The elements of the result are computed on-demand, as
  the result is used. No buffering storage is allocated and each
  traversal step invokes <code>predicate</code> on one or more underlying
  elements.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func filter(predicate: (Generator.Elements.Generator.Element) -&gt; Bool) -&gt; LazyFilterSequence&lt;Generator.Elements&gt;</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/LazyS