Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utilities/findInTree

Index

Functions

Functions

  • default(tree: object, filter: (node: any) => any, options?: { ignore?: string[]; maxProperties?: number; walkable?: string[] }): any
  • name

    findInTree

    description

    Searches through the walkables provided inside a tree.

    Parameters

    • tree: object

      The tree to search

    • filter: (node: any) => any

      The filter to use to resolve the search

        • (node: any): any
        • Parameters

          • node: any

          Returns any

    • Optional options: { ignore?: string[]; maxProperties?: number; walkable?: string[] }

      The options for the search

      • Optional ignore?: string[]
      • Optional maxProperties?: number
      • Optional walkable?: string[]

    Returns any

    Returns the function with a cacheable value

Generated using TypeDoc