MCPcopy
hub / github.com/Koenkk/zigbee2mqtt / get

Function get

lib/util/settings.ts:452–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450}
451
452export function get(): Settings {
453 if (!_settingsWithDefaults) {
454 loadSettingsWithDefaults();
455 }
456
457 // biome-ignore lint/style/noNonNullAssertion: just loaded
458 return _settingsWithDefaults!;
459}
460
461export function set(path: string[], value: string | number | boolean | KeyValue): void {
462 // biome-ignore lint/suspicious/noExplicitAny: auto-parsing

Callers 4

validateFunction · 0.85
getGroupFunction · 0.85
getDeviceFunction · 0.85
reReadFunction · 0.85

Calls 1

loadSettingsWithDefaultsFunction · 0.85

Tested by

no test coverage detected