MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / getEmptyKeys

Function getEmptyKeys

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

Source from the content-addressed store, hash-verified

57}
58
59function getEmptyKeys(value: KeyConfig): string[] {
60 const emptyKeys: string[] = [];
61 for (const key in value) {
62 if (is_empty_string(value[key])) {
63 emptyKeys.push(key);
64 }
65 }
66 return emptyKeys;
67}
68
69function googleCheck(value: KeyConfig): CheckResult {
70 const invalidKeys = getInvalidStringKeys(value);

Callers 2

emptyOrAllCheckFunction · 0.85
generalCheckFunction · 0.85

Calls 2

is_empty_stringFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected