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

Function hasEmptyPathConfig

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

Source from the content-addressed store, hash-verified

566}
567
568function hasEmptyPathConfig(node: TreeNode<ActivatedRouteSnapshot>) {
569 const config = node.value.routeConfig;
570 return config && config.path === '';
571}
572
573/**
574 * 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