method Lazy.prototype.filterimport { Lazy } from "https://deno.land/x/better_iterators@v1.2.1/mod.ts"; filter<S extends T>(f: (t: T) => t is S): Lazy<S>Overload to support type narrowing. filter(f: Filter<T>): Lazy<T>Keeps only items for which f is true. Overload to support type narrowing. Type ParametersS extends TParametersf: (t: T) => t is SReturnsLazy<S>Keeps only items for which f is true. Parametersf: Filter<T>ReturnsLazy<T>