Function enumerate

  • Attaches the index at each value of arg.

    Type Parameters

    • T

    Parameters

    Returns IterableIterator<[number, T]>