Endo API documentation
    Preparing search index...

    Function mapIterable

    • 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

      Returns Iterable<U, any, any>