Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/common/mod.ts>matchGlobs

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
function matchGlobs
import { matchGlobs } from "https://deno.land/x/ts_morph@16.0.0/common/mod.ts";

Checks the specified file paths to see if the match any of the specified patterns.

Parameters

paths: ReadonlyArray<string>
patterns: string | ReadonlyArray<string>
cwd: string

Returns

string[]