Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ThatGuySam/doesitarm
/ hasProcesGlobal
Function
hasProcesGlobal
helpers/environment.js:17–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
}
16
17
export
function
hasProcesGlobal () {
18
if
( typeof process ===
'undefined'
)
return
false
19
20
if
( !process.versions?.node )
return
false
21
22
return
true
23
}
24
25
26
// https://stackoverflow.com/a/8684009/1397641
Callers
2
isDarwin
Function · 0.85
isLinux
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected