Function setPath$

  • Set value at path in a nested array!

    Parameters

    • x: any[]

      a nested array (updated!)

    • p: number[]

      path

    • v: any

      value

    Returns any[]

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

Generated using TypeDoc