Function getPath

  • Get value at path in a nested array.

    Parameters

    • x: any[]

      a nested array

    • p: number[]

      path

    Returns any

    x[i₀][i₁][...] | [i₀, i₁, ...] = p

Generated using TypeDoc