Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ toRoot
Method
toRoot
packages/router/src/create_url_tree.ts:263–265 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
261
}
262
263
public toRoot(): boolean {
264
return
this.isAbsolute && this.commands.length === 1 && this.commands[0] ==
'/'
;
265
}
266
}
267
268
/** Transforms commands to a normalized `Navigation` */
Callers
1
createUrlTreeFromSegmentGroup
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected