MCPcopy
hub / github.com/volcengine/OpenViking / str

Function str

examples/codex-memory-plugin/scripts/config.mjs:53–56  ·  view source on GitHub ↗
(val, fallback)

Source from the content-addressed store, hash-verified

51}
52
53function str(val, fallback) {
54 if (typeof val === "string" && val.trim()) return val.trim();
55 return fallback;
56}
57
58function envBool(name) {
59 const v = process.env[name];

Callers 15

normalizeAuthModeFunction · 0.70
loadConfigFunction · 0.70
setup.pyFile · 0.50
_copy_artifactMethod · 0.50
_build_extension_implMethod · 0.50
_build_web_studioFunction · 0.50
mainFunction · 0.50
check_configFunction · 0.50

Calls

no outgoing calls