MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / checkValid

Method checkValid

src/common/configParser.ts:92–97  ·  view source on GitHub ↗
(key: Identifier, value: any)

Source from the content-addressed store, hash-verified

90 }
91
92 checkValid(key: Identifier, value: any): boolean {
93 if (value == undefined) {
94 return false;
95 }
96 return this.checkStatus(key, value).canSave;
97 }
98
99 checkStatus(key: Identifier, value: any): CheckResult {
100 if (value == undefined) {

Callers 3

setMethod · 0.95
loadFromConfigMethod · 0.95
resumeMethod · 0.95

Calls 1

checkStatusMethod · 0.95

Tested by

no test coverage detected