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

Function compare

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

Source from the content-addressed store, hash-verified

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

Callers 3

prefixedWithFunction · 0.70
makeAddListenerFunction · 0.50
patchEventTargetMethodsFunction · 0.50

Calls 1

shallowEqualFunction · 0.90

Tested by

no test coverage detected