MCPcopy 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
42function 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

parsePluginArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…