The result iterator has as many elements as the baseIterator and have the same termination -- the same completion value or failure reason. But the non-final values are the corresponding non-final values from baseIterator as transformed by func.

  • Type Parameters

    • T
    • U

    Parameters

    • baseIterable: Iterable<T, any, any>
    • func: ((value: T) => U)
        • (value): U
        • Parameters

          • value: T

          Returns U

    Returns Iterable<U, any, any>