Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ isNodeJs
Method
isNodeJs
external/.scrollLibs.js:15290–15292 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15288
return
"undefinedAtomType "
.repeat(this.atoms.length).trim()
15289
}
15290
isNodeJs() {
15291
return
typeof exports !==
"undefined"
15292
}
15293
isBrowser() {
15294
return
!this.isNodeJs()
15295
}
Callers
3
isBrowser
Method · 0.95
require
Method · 0.95
toDisk
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected