MCPcopy Create free account
hub / github.com/anus-dev/ANUS / isValueInherited

Function isValueInherited

packages/cli/src/utils/settingsUtils.ts:456–462  ·  view source on GitHub ↗
(
  key: string,
  settings: Settings,
  _mergedSettings: Settings,
)

Source from the content-addressed store, hash-verified

454 * Check if a setting value is inherited (not set at current scope)
455 */
456export function isValueInherited(
457 key: string,
458 settings: Settings,
459 _mergedSettings: Settings,
460): boolean {
461 return !settingExistsInScope(key, settings);
462}
463
464/**
465 * Get the effective value for display, considering inheritance

Callers 1

Calls 1

settingExistsInScopeFunction · 0.85

Tested by

no test coverage detected