Function getPath

  • Get value at path in a nested object.

    Parameters

    • x: object

      a nested object

    • p: string[]

      path

    Returns any

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

Generated using TypeDoc