• Performs the given action for each element of the given iterable.

    Type Parameters

    • T

      Iterated elements type.

    Parameters

    • iterable: Iterable<T>

      An iterable of elements to perform actions on.

    • action: ((this, element) => void)

      An action to perform on each iterable element. This is a function accepting an element as its only parameter.

        • (this, element): void
        • Parameters

          • this: void
          • element: T

          Returns void

    Returns void

Generated using TypeDoc