MCPcopy Create free account
hub / github.com/github/gh-aw / toBool

Function toBool

actions/setup/post.js:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16function isDebugModeEnabled() {
17 const toBool = value => {
18 const normalized = String(value || "").toLowerCase();
19 return normalized === "1" || normalized === "true";
20 };
21 return toBool(process.env.RUNNER_DEBUG) || toBool(process.env.ACTIONS_STEP_DEBUG);
22}
23

Callers 1

isDebugModeEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected