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

Function isDefaultValue

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

Source from the content-addressed store, hash-verified

447 * Check if a setting doesn't exist in current scope (should be greyed out)
448 */
449export function isDefaultValue(key: string, settings: Settings): boolean {
450 return !settingExistsInScope(key, settings);
451}
452
453/**
454 * Check if a setting value is inherited (not set at current scope)

Callers 2

SettingsDialogFunction · 0.85

Calls 1

settingExistsInScopeFunction · 0.85

Tested by

no test coverage detected