Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ember-learn/ember-api-docs
/ parentName
Function
parentName
app/utils/parent-name.js:1–3 ·
view source on GitHub ↗
(routeName)
Source
from the content-addressed store, hash-verified
1
export
function
parentName(routeName) {
2
return
routeName.split(
'.'
).slice(0, 3).join(
'.'
);
3
}
Callers
1
parentName
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected