Skip to main content
Module

x/better_iterators/mod.ts>Lazy#filter

Chainable iterators (sync and async) for TypeScript, with support for opt-in, bounded parallelism
Latest
method Lazy.prototype.filter
import { Lazy } from "https://deno.land/x/better_iterators@v1.5.0/mod.ts";

Overload to support type narrowing.

Type Parameters

S extends T

Parameters

f: (t: T) => t is S

Keeps only items for which f is true.