MCPcopy
hub / github.com/angular/angular / compare

Function compare

packages/router/src/create_url_tree.ts:567–569  ·  view source on GitHub ↗
(path: string, params: {[key: string]: any}, segment: UrlSegment)

Source from the content-addressed store, hash-verified

565}
566
567function compare(path: string, params: {[key: string]: any}, segment: UrlSegment): boolean {
568 return path == segment.path && shallowEqual(params, segment.parameters);
569}

Callers 3

prefixedWithFunction · 0.70
makeAddListenerFunction · 0.50
patchEventTargetMethodsFunction · 0.50

Calls 1

shallowEqualFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…