Tap into the values of an iterator. func does not modify values passed to it as it's return value is unused.

Type Parameters

  • T

Implements

  • IterableIterator<T>

Constructors

Properties

Methods

Constructors

Properties

func: ((value: T) => any)
iterator: Iterator<T, any, any>

Methods

  • Returns IterableIterator<T, any, any>

  • Parameters

    • Rest...args: any[]

    Returns IteratorResult<T, any>