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

Function isAnalyticsDisabled

packages/core/analytics/src/analytics.ts:52–54  ·  view source on GitHub ↗
(
  env: Readonly<Record<string, string | undefined>> = process.env,
)

Source from the content-addressed store, hash-verified

50};
51
52export const isAnalyticsDisabled = (
53 env: Readonly<Record<string, string | undefined>> = process.env,
54): boolean => truthy(env.DO_NOT_TRACK) || truthy(env.EXECUTOR_DISABLE_ANALYTICS);
55
56// ---------------------------------------------------------------------------
57// Service

Callers 2

analytics.test.tsFile · 0.90
layerFunction · 0.85

Calls 1

truthyFunction · 0.70

Tested by

no test coverage detected