MCPcopy Create free account
hub / github.com/anomalyco/opencode / enabledByExperimental

Function enabledByExperimental

packages/core/src/flag/flag.ts:11–13  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

9const fff = process.env["OPENCODE_DISABLE_FFF"]
10
11function enabledByExperimental(key: string) {
12 return process.env[key] === undefined ? truthy("OPENCODE_EXPERIMENTAL") : truthy(key)
13}
14
15export const Flag = {
16 OTEL_EXPORTER_OTLP_ENDPOINT: process.env["OTEL_EXPORTER_OTLP_ENDPOINT"],

Callers 2

flag.tsFile · 0.70

Calls 1

truthyFunction · 0.85

Tested by

no test coverage detected