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.
Parameters
Section titled “Parameters”string
pattern
Section titled “pattern”string
dialect?
Section titled “dialect?”GlobDialect = "posix"
limits?
Section titled “limits?”Returns
Section titled “Returns”boolean