Function getPath

  • Get value at path in nested lists.

    Returns

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

    Type Parameters

    • K

    Parameters

    • x: Lists<K, any>

      nested lists

    • p: K[]

      path

    Returns any

Generated using TypeDoc