(matcher: RegExp, routePath: string, routeFile: string)
| 320 | |
| 321 | /** Whether a compiled matcher entry accepts an address the route serves. */ |
| 322 | export function matcherCovers(matcher: RegExp, routePath: string, routeFile: string): boolean { |
| 323 | return routeAddresses(routePath, routeFile).some((address) => matcher.test(address)); |
| 324 | } |