MCPcopy Create free account
hub / github.com/angular/angular / containsEmptyPathMatches

Function containsEmptyPathMatches

packages/router/src/utils/config_matching.ts:205–211  ·  view source on GitHub ↗
(
  segmentGroup: UrlSegmentGroup,
  slicedSegments: UrlSegment[],
  routes: Route[],
)

Source from the content-addressed store, hash-verified

203}
204
205function containsEmptyPathMatches(
206 segmentGroup: UrlSegmentGroup,
207 slicedSegments: UrlSegment[],
208 routes: Route[],
209): boolean {
210 return routes.some((r) => emptyPathMatch(segmentGroup, slicedSegments, r));
211}
212
213export function emptyPathMatch(
214 segmentGroup: UrlSegmentGroup,

Callers 1

splitFunction · 0.85

Calls 2

emptyPathMatchFunction · 0.85
someMethod · 0.80

Tested by

no test coverage detected