MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isTruthyEnv

Function isTruthyEnv

common/src/util/analytics-sampling.ts:68–70  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

66}
67
68function isTruthyEnv(value: string | undefined): boolean {
69 return value === '1' || value === 'true' || value === 'yes'
70}
71
72export function isFullTelemetryEnabled(params: {
73 distinctId?: string

Callers 1

isFullTelemetryEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected