MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isGlobalConfigKey

Function isGlobalConfigKey

source code/utils/config.ts:672–674  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

670export type GlobalConfigKey = (typeof GLOBAL_CONFIG_KEYS)[number]
671
672export function isGlobalConfigKey(key: string): key is GlobalConfigKey {
673 return GLOBAL_CONFIG_KEYS.includes(key as GlobalConfigKey)
674}
675
676export const PROJECT_CONFIG_KEYS = [
677 'allowedTools',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected