• Creates a push iterable with the results of calling a provided function on every element of the source iterable.

    Type Parameters

    • TSrc

      A type of source elements.

    • TConv

      A type of converted elements.

    Parameters

    • source: Iterable<TSrc>

      A source iterable.

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

      A function that produces an element of the new iterable, taking the source element 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