MCPcopy
hub / github.com/ThatGuySam/doesitarm / isLinux

Function isLinux

helpers/environment.js:36–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36export function isLinux () {
37 if ( isBrowserContext() ) return false
38
39 if ( !hasProcesGlobal() ) return false
40
41 if ( process.platform === 'linux' ) return true
42
43 if ( process.platform === 'openbsd' ) return true
44
45 return false
46}

Callers 2

scan-new-apps.jsFile · 0.90

Calls 2

isBrowserContextFunction · 0.85
hasProcesGlobalFunction · 0.85

Tested by

no test coverage detected