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, any, any>
predicate: ((value: T) => any)

Methods

  • Returns IterableIterator<T, any, any>

  • Parameters

    • Rest...args: any[]

    Returns IteratorResult<any, any>