MCPcopy Create free account
hub / github.com/EvoMap/evolver / deleteIfPresent

Function deleteIfPresent

src/proxy/clientSettings.js:285–289  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

283 changed = true;
284 };
285 const deleteIfPresent = (key) => {
286 if (!Object.prototype.hasOwnProperty.call(cfg, key)) return;
287 delete cfg[key];
288 changed = true;
289 };
290 const setRuntimeIfMissing = (key, value) => {
291 if (!runtimeEnv || !value) return false;
292 if (String(runtimeEnv[key] || '').trim()) return false;

Callers 1

syncClaudeProxySettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected