Function hasPath

  • Check if nested entries has a path.

    Type Parameters

    • K

    Parameters

    • x: Entries<K, any>

      nested entries

    • p: K[]

      search path

    Returns boolean

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

Generated using TypeDoc