an></li>
</ol>
)</span></li>
</ol>)
      
    </section>
    <section class="desc markdown">
      <p>Creates a new stream from this stream that discards some elements.</p>
<p>The new stream sends the same error and done events as this stream,
but it only sends the data events that satisfy the <code>test</code>.</p>
<p>If the <code>test</code> function throws, the data event is dropped and the
error is emitted on the returned stream instead.</p>
<p>The returned stream is a broadcast stream if this stream i