Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "forEachIndexed"

Index

Functions

Functions

forEachIndexed

  • forEachIndexed<T>(this: Sequence<T>, action: function): void
  • Performs the given action (side-effect) for each element of the sequence and passes the index of the current element (zero-based).

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • action: function
        • (index: number, value: T): void
        • Parameters

          • index: number
          • value: T

          Returns void

    Returns void