(rootCandidate: UrlSegmentGroup)
| 907 | } |
| 908 | |
| 909 | export function createRoot(rootCandidate: UrlSegmentGroup): UrlSegmentGroup { |
| 910 | return rootCandidate.segments.length > 0 |
| 911 | ? new UrlSegmentGroup([], {[PRIMARY_OUTLET]: rootCandidate}) |
| 912 | : rootCandidate; |
| 913 | } |
| 914 | |
| 915 | /** |
| 916 | * Recursively |
no outgoing calls
no test coverage detected