MCPcopy Create free account
hub / github.com/ACM-VIT/conclave / booleanEnv

Function booleanEnv

scripts/loadtest/loadtest.mjs:17–21  ·  view source on GitHub ↗
(name, fallback)

Source from the content-addressed store, hash-verified

15};
16
17const booleanEnv = (name, fallback) => {
18 const raw = process.env[name];
19 if (raw == null || raw.trim() === "") return fallback;
20 return !["0", "false", "no", "off"].includes(raw.trim().toLowerCase());
21};
22
23const NEXT_API =
24 process.env.NEXT_API || "https://conclave.acmvit.in/api/sfu/join";

Callers 1

loadtest.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected