Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "api-helper/misc/project/filteredView"

Index

Classes

Functions

Functions

filteredView

  • filteredView<P>(p: Project, filter: (path: string) => boolean): P
  • Create a filtered view of the given project. Changes to the filtered view will affect the source project.

    Type parameters

    • P: Project = Project

    Parameters

    • p: Project
    • filter: (path: string) => boolean

      function to filter file paths. Return true to eliminate a file

        • (path: string): boolean
        • Parameters

          • path: string

          Returns boolean

    Returns P

Generated using TypeDoc