(ids: RouteID[], routes: RouteChain[])
| 70 | return findChainForSegments(parsePath(path).segments, routes)!.map((r) => r.id); |
| 71 | } |
| 72 | function getRoutePath(ids: RouteID[], routes: RouteChain[]): string { |
| 73 | return generatePath(chainToSegments(findChainForIDs(ids, routes)!)!); |
| 74 | } |
no test coverage detected