MCPcopy
hub / github.com/angular/angular / hasEmptyPathConfig

Function hasEmptyPathConfig

packages/router/src/recognize.ts:542–545  ·  view source on GitHub ↗
(node: TreeNode<ActivatedRouteSnapshot>)

Source from the content-addressed store, hash-verified

540}
541
542function hasEmptyPathConfig(node: TreeNode<ActivatedRouteSnapshot>) {
543 const config = node.value.routeConfig;
544 return config && config.path === '';
545}
546
547/**
548 * Finds `TreeNode`s with matching empty path route configs and merges them into `TreeNode` with

Callers 1

mergeEmptyPathMatchesFunction · 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…