MCPcopy Index your code
hub / github.com/angular/angular / containsEmptyPathMatches

Function containsEmptyPathMatches

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

Source from the content-addressed store, hash-verified

217}
218
219function containsEmptyPathMatches(
220 segmentGroup: UrlSegmentGroup,
221 slicedSegments: UrlSegment[],
222 routes: Route[],
223): boolean {
224 return routes.some((r) => emptyPathMatch(segmentGroup, slicedSegments, r));
225}
226
227export function emptyPathMatch(
228 segmentGroup: UrlSegmentGroup,

Callers 1

splitFunction · 0.85

Calls 2

emptyPathMatchFunction · 0.85
someMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…