Function hasPath

  • Check if nested iterable has a path.

    Parameters

    • x: Iterable<any>

      a nested iterable

    • p: number[]

      path

    Returns boolean

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

Generated using TypeDoc