Function setPath$

  • Set value at path in a nested object.

    Parameters

    • x: object

      a nested object (updated)

    • p: string[]

      path

    • v: any

      value

    Returns any

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

Generated using TypeDoc