Module

x/proc/tests/deps/asynciter.ts>AbstractAsyncIter#filter

A better way to work with processes in Deno.
Latest
method AbstractAsyncIter.prototype.filter
import { AbstractAsyncIter } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asynciter.ts";

Filter the sequence to contain just the items that pass a test.

Parameters

filterFn: (item: T) => boolean | Promise<boolean>

The filter function.

Returns

An iterator returning the values that passed the filter function.