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

    Type Parameters

    • TSrc

      A type of array elements.

    • TConv

      A type of converted elements.

    Parameters

    • array: ArrayLike<TSrc>

      A source array-like instance.

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

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