Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ isBrowser
Method
isBrowser
external/.scrollLibs.js:15293–15295 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15291
return
typeof exports !==
"undefined"
15292
}
15293
isBrowser() {
15294
return
!this.isNodeJs()
15295
}
15296
getOlderSiblings() {
15297
if
(this.isRoot())
return
[]
15298
return
this.parent.slice(0, this.index)
Callers
nothing calls this directly
Calls
1
isNodeJs
Method · 0.95
Tested by
no test coverage detected