MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / hasEnvOverride

Function hasEnvOverride

src/runtime/config.ts:102–104  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv, key: string)

Source from the content-addressed store, hash-verified

100const TRUE_ENV_VALUES = new Set(["1", "true", "yes", "on"]);
101const FALSE_ENV_VALUES = new Set(["0", "false", "no", "off"]);
102
103function hasEnvOverride(env: NodeJS.ProcessEnv, key: string): boolean {
104 return Object.prototype.hasOwnProperty.call(env, key);
105}
106
107function normalizeOptionalString(value: string | undefined): string | undefined {

Callers 1

resolveRuntimeConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected