Documentation for Simbo's Packages
    Preparing search index...
    • Glob using globby and exit early if there are any findings.

      Returns true if any file matches the given glob pattern(s).

      If a matcher function is provided, it will be used to filter the stream result.

      Parameters

      • patterns: string | string[]

        A glob pattern or list of patterns.

      • options: Options = {}

        Optional globby options and a matcher function.

      Returns Promise<boolean>

      A boolean indicating whether any matching file was found.