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>
predicate: Predicate<T>

Methods