MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isGlobalConfigKey

Function isGlobalConfigKey

src/utils/config.ts:690–692  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

688export type GlobalConfigKey = (typeof GLOBAL_CONFIG_KEYS)[number]
689
690export function isGlobalConfigKey(key: string): key is GlobalConfigKey {
691 return GLOBAL_CONFIG_KEYS.includes(key as GlobalConfigKey)
692}
693
694export const PROJECT_CONFIG_KEYS = [
695 'allowedTools',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected