Skip to content

matchGlob

matchGlob(path, pattern, dialect?, limits?): boolean

Defined in: packages/format-glob/src/compile-glob.ts:51

Tests one path against one pattern.

A utility over compileGlob; compile once and reuse the matcher when testing many paths against the same pattern.

string

string

GlobDialect = "posix"

GlobLimits

boolean