Function hasPath

  • Check if nested lists has a path.

    Returns

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

    Type Parameters

    • T

    Parameters

    • x: Lists<T, any>

      nested lists

    • p: T[]

      search path

    Returns boolean

Generated using TypeDoc