MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / get

Function get

src/settings/mainSettings.js:349–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 delete appSettings.uiSettings[key];
348 Object.defineProperty(appSettings.uiSettings, key, {
349 get() {
350 if (!(key in instantiated)) {
351 instantiated[key] = initializer();
352 Object.defineProperty(appSettings.uiSettings, key, {
353 value: instantiated[key],
354 writable: true,
355 configurable: true,
356 enumerable: true,
357 });
358 }
359 return instantiated[key];
360 },
361 set(val) {
362 instantiated[key] = val;
363 Object.defineProperty(appSettings.uiSettings, key, {

Callers

nothing calls this directly

Calls 1

definePropertyMethod · 0.80

Tested by

no test coverage detected