MCPcopy
hub / github.com/formatjs/formatjs / boolEnv

Function boolEnv

tools/release-please/run.ts:23–29  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

21}
22
23function boolEnv(name: string): boolean | undefined {
24 const value = process.env[name]
25 if (value === undefined || value === '') {
26 return undefined
27 }
28 return value === 'true'
29}
30
31function setOutput(key: string, value) {
32 if (process.env.GITHUB_OUTPUT) {

Callers 1

loadManifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected