MCPcopy
hub / github.com/angular/angular / getOutlet

Function getOutlet

packages/router/src/utils/config.ts:229–231  ·  view source on GitHub ↗
(route: Route)

Source from the content-addressed store, hash-verified

227
228/** Returns the `route.outlet` or PRIMARY_OUTLET if none exists. */
229export function getOutlet(route: Route): string {
230 return route.outlet || PRIMARY_OUTLET;
231}
232
233/**
234 * Sorts the `routes` such that the ones with an outlet matching `outletName` come first.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…