Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ coerce
Function
coerce
lib/utils/pluginParser.js:42–46 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
40
}
41
42
function
coerce(v) {
43
if
(v ===
'true'
)
return
true
44
if
(v ===
'false'
)
return
false
45
return
v
46
}
47
48
/**
49
* Compose CLI args > config > defaults into a normalized trigger spec, then
Callers
1
parsePluginArgs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected