The path.matchesGlob()
method determines if path
matches the pattern
.
method
path.default.PlatformPath.matchesGlob
path: string,
pattern: string
): boolean;
@param path
The path to glob-match against.
@param pattern
The glob to check the path against.
@returns
Whether or not the path
matched the pattern
.