Function entries

  • Obtain all index-value pairs.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    Returns Entries<T>

    [[0, v₀], [1, v₁], ...] | vᵢ = x[i]

Generated using TypeDoc