parseBooleanString
parseBooleanString(
value):boolean
Defined in: packages/simply-cicd-core/src/flags/env.ts:27
Coerce a string or boolean to a boolean. 'true'/'false' are recognised
case- and whitespace-insensitively; anything else is false.
Environment variables are always strings, unlike the boolean flags oclif parses natively, so any flag with an env-var fallback needs this on the env side.
Parameters
Section titled “Parameters”string | boolean
The raw flag or environment value.
Returns
Section titled “Returns”boolean
The coerced boolean.