Function getPath

  • Get value at path in a nested map.

    Type Parameters

    • K

    Parameters

    • x: Map<K, any>

      a nested map

    • p: K[]

      path

    Returns any

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

Generated using TypeDoc