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

Method toRoot

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected