/span>

todos<span class="token punctuation">.</span><span class="token function">filterBy</span><span class="token punctuation">(</span><span class="token string">'isDone'</span><span class="token punctuation">,</span> <span class="token boolean">true</span><span class="token punctuation">)</span><span class="token punctuation">;</span>

<span class="token comment">// returns an Array containing only items with `isDone == true`</span>
<span aria-hidden="true" class="line-numbers-rows"><a href="#C6_L1" id=C