Take values from the input iterator while the predicate returns a truthy value.

Type Parameters

  • T

Implements

  • IterableIterator<T>

Constructors

Properties

Methods

Constructors

Properties

done: boolean = false
iterator: Iterator<T, any, any>
predicate: Predicate<T>

Methods

  • Parameters

    • Rest...args: any[]

    Returns IteratorResult<T, any>