MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / getValue

Function getValue

apps/client/src-electron/electron-main.ts:114–122  ·  view source on GitHub ↗
(obj: any, key: string)

Source from the content-addressed store, hash-verified

112 }
113
114 function getValue(obj: any, key: string): string | undefined {
115 const lowerCaseKey = key.toLowerCase();
116
117 for (const key of Object.keys(obj)) {
118 if (key.toLowerCase() === lowerCaseKey) {
119 return obj[key];
120 }
121 }
122 }
123
124 // Disable CORS and handle cookies
125

Callers 1

createWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected