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

Function isCommandWithOutlets

packages/router/src/create_url_tree.ts:158–160  ·  view source on GitHub ↗

* Determines if a given command has an `outlets` map. When we encounter a command * with an outlets k/v map, we need to apply each outlet individually to the existing segment.

(command: any)

Source from the content-addressed store, hash-verified

156 * with an outlets k/v map, we need to apply each outlet individually to the existing segment.
157 */
158function isCommandWithOutlets(command: any): command is {outlets: {[key: string]: any}} {
159 return typeof command === 'object' && command != null && command.outlets;
160}
161
162/**
163 * Normalizes a query parameter value by using the `UrlSerializer` to serialize then parse the value.

Callers 3

getOutletsFunction · 0.85
prefixedWithFunction · 0.85
createNewSegmentGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…