An iterator that filters the values from the input Iterator, to only those that return a truthy value in the predicate.

Type Parameters

  • T

Implements

  • IterableIterator<T>

Constructors

Properties

Methods

Constructors

Properties

iterator: Iterator<T>
predicate: (value: T) => any

Methods

  • Parameters

    • ...args: any[]

    Returns IteratorResult<any>