MCPcopy Create free account
hub / github.com/angular/angular / toRoot

Method toRoot

packages/router/src/create_url_tree.ts:264–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 }
263
264 public toRoot(): boolean {
265 return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';
266 }
267}
268
269/** Transforms commands to a normalized `Navigation` */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected