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

Function isTruthy

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

Source from the content-addressed store, hash-verified

60};
61
62const isTruthy = (value: string | undefined): boolean =>
63 value === "1" || value === "true" || value === "yes";
64
65// OTEL_EXPORTER_OTLP_HEADERS carries auth for a hosted collector, in the spec's
66// "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