Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/omkarcloud/botasaurus
/ _isMaster
Function
_isMaster
js/botasaurus-js/src/env.ts:32–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
const
isVmish: boolean = isDocker || isVm || isGitpodEnvironment;
31
32
function
_isMaster() {
33
const
args = process.argv;
34
return
args.includes(
'--master'
)
35
}
36
37
function
_isWorker() {
38
const
args = process.argv;
Callers
1
env.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected