MCPcopy 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

isBrowserMethod · 0.95
requireMethod · 0.95
toDiskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected