method default.PlatformPath.matchesGlobPlatformPath.matchesGlob(path: string,pattern: string,): booleanDeprecatedThe path.matchesGlob() method determines if path matches the pattern. Parameterspath: stringThe path to glob-match against. pattern: stringThe glob to check the path against. Return TypebooleanWhether or not the path matched the pattern. ThrowsTypeErrorif path or pattern are not strings.