MCPcopy Create free account
hub / github.com/codeaashu/claude-code / envBool

Function envBool

src/shims/bun-bundle.ts:33–37  ·  view source on GitHub ↗
(key: string, fallback: boolean)

Source from the content-addressed store, hash-verified

31}
32
33function envBool(key: string, fallback: boolean): boolean {
34 const v = process.env[key]
35 if (v === undefined) return fallback
36 return v === '1' || v === 'true'
37}
38
39export function feature(name: string): boolean {
40 return FEATURE_FLAGS[name] ?? false

Callers 1

bun-bundle.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected