MCPcopy Create free account
hub / github.com/zxlie/FeHelper / readSetting

Function readSetting

apps/static/js/tool-layout.js:21–26  ·  view source on GitHub ↗
(key, settings)

Source from the content-addressed store, hash-verified

19 }
20
21 function readSetting(key, settings) {
22 if (settings && Object.prototype.hasOwnProperty.call(settings, key)) {
23 return isEnabledSetting(settings[key]);
24 }
25 return readLocalSetting(key);
26 }
27
28 function prefersColorSchemeDark() {
29 try {

Callers 1

getToolDarkModeStateFunction · 0.70

Calls 2

isEnabledSettingFunction · 0.70
readLocalSettingFunction · 0.70

Tested by

no test coverage detected