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

Function equalPath

packages/router/src/url_tree.ts:385–388  ·  view source on GitHub ↗
(as: UrlSegment[], bs: UrlSegment[])

Source from the content-addressed store, hash-verified

383}
384
385export function equalPath(as: UrlSegment[], bs: UrlSegment[]): boolean {
386 if (as.length !== bs.length) return false;
387 return as.every((a, i) => a.path === bs[i].path);
388}
389
390export function mapChildrenIntoArray<T>(
391 segment: UrlSegmentGroup,

Callers 4

equalSegmentGroupsFunction · 0.85
equalSegmentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…