MCPcopy Index your code
hub / github.com/angular/angular / getOutlets

Function getOutlets

packages/router/src/create_url_tree.ts:375–381  ·  view source on GitHub ↗
(commands: readonly unknown[])

Source from the content-addressed store, hash-verified

373}
374
375function getOutlets(commands: readonly unknown[]): {[k: string]: readonly unknown[] | string} {
376 if (isCommandWithOutlets(commands[0])) {
377 return commands[0].outlets;
378 }
379
380 return {[PRIMARY_OUTLET]: commands};
381}
382
383function updateSegmentGroup(
384 segmentGroup: UrlSegmentGroup | undefined,

Callers 1

Calls 1

isCommandWithOutletsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…