MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isTruthy

Function isTruthy

apps/host-selfhost/src/telemetry.ts:64–65  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

62};
63
64const isTruthy = (value: string | undefined): boolean =>
65 value === "1" || value === "true" || value === "yes";
66
67// OTEL_EXPORTER_OTLP_HEADERS carries auth for a hosted collector, in the spec's
68// "k=v,k2=v2" form. A malformed pair is skipped rather than failing the boot:

Callers 1

resolveTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected