MCPcopy Create free account
hub / github.com/block/buzz / resolveEnabled

Function resolveEnabled

desktop/src/shared/features/resolveEnabled.ts:12–17  ·  view source on GitHub ↗
(
  featureId: string,
  overrides: Record<string, boolean>,
)

Source from the content-addressed store, hash-verified

10 * Returns true only if the user has explicitly opted in via overrides.
11 */
12export function resolveEnabled(
13 featureId: string,
14 overrides: Record<string, boolean>,
15): boolean {
16 return overrides[featureId] === true;
17}

Callers 3

useFeatureEnabledFunction · 0.90
SettingsViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected