• Creates a push iterable with the results of calling a provided function on every item of the given indexed list.

    Type Parameters

    • TSrc

      A type of indexed list items.

    • TConv

      A type of converted elements.

    Parameters

    • indexed: IndexedItemList<TSrc>

      A source indexed items list.

    • convert: ((this, element) => TConv)

      A function that produces an element of new iterable, taking list item as the only parameter.

        • (this, element): TConv
        • Parameters

          • this: void
          • element: TSrc

          Returns TConv

    Returns PushIterable<TConv>

    New push iterable of transformed elements.

Generated using TypeDoc