Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ getFirstAncestor
Method
getFirstAncestor
external/.scrollLibs.js:15481–15484 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15479
return
this._getAtoms(startFrom)
15480
}
15481
getFirstAncestor() {
15482
const
parent = this.parent
15483
return
parent.isRoot() ? this : parent.getFirstAncestor()
15484
}
15485
isLoaded() {
15486
return
true
15487
}
Callers
nothing calls this directly
Calls
1
isRoot
Method · 0.80
Tested by
no test coverage detected