@traversable/schema
    Preparing search index...
    • The tree.has utility accepts a path into a tree and an optional type-guard, and returns a predicate that returns true if its argument 'has' the specified path.

      If the optional type-guard is provided, tree.has will also apply the type-guard to the value it finds at the provided path.

      Type Parameters

      • KS extends readonly (string | number | symbol)[]

      Parameters

      • ...params: [...KS[]]

      Returns (u: unknown) => u is has.loop<KS, {}>

    • The tree.has utility accepts a path into a tree and an optional type-guard, and returns a predicate that returns true if its argument 'has' the specified path.

      If the optional type-guard is provided, tree.has will also apply the type-guard to the value it finds at the provided path.

      Type Parameters

      • const KS extends readonly (string | number | symbol)[]
      • T

      Parameters

      • ...params: [...KS[], (u: unknown) => u is T]

      Returns (u: unknown) => u is has.loop<KS, T>