Function getPath

  • Get value at path in a nested object.

    Returns

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

    Parameters

    • x: object

      a nested object

    • p: string[]

      path

    Returns any

Generated using TypeDoc