Nodepathpath.PlatformPath.matchesGlobmethod path.PlatformPath.matchesGlob#PlatformPath.matchesGlob(path: string,pattern: string,): booleanThe path.matchesGlob() method determines if path matches the pattern. Parameters ##path: stringThe path to glob-match against. #pattern: stringThe glob to check the path against. Return Type #booleanWhether or not the path matched the pattern. Throws #TypeErrorif path or pattern are not strings.
method path.PlatformPath.matchesGlob#PlatformPath.matchesGlob(path: string,pattern: string,): booleanThe path.matchesGlob() method determines if path matches the pattern. Parameters ##path: stringThe path to glob-match against. #pattern: stringThe glob to check the path against. Return Type #booleanWhether or not the path matched the pattern. Throws #TypeErrorif path or pattern are not strings.