MCPcopy Index your code
hub / github.com/CopyTranslator/CopyTranslator / getInvalidStringKeys

Function getInvalidStringKeys

src/common/configuration.ts:49–57  ·  view source on GitHub ↗
(value: KeyConfig)

Source from the content-addressed store, hash-verified

47}
48
49function getInvalidStringKeys(value: KeyConfig): string[] {
50 const invalidKeys: string[] = [];
51 for (const key in value) {
52 if (typeof value[key] !== "string") {
53 invalidKeys.push(key);
54 }
55 }
56 return invalidKeys;
57}
58
59function getEmptyKeys(value: KeyConfig): string[] {
60 const emptyKeys: string[] = [];

Callers 3

googleCheckFunction · 0.85
emptyOrAllCheckFunction · 0.85
generalCheckFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected