MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / hasOwnSetting

Function hasOwnSetting

src/settings/settingsPersistence.ts:42–44  ·  view source on GitHub ↗
(settings: T, key: PropertyKey)

Source from the content-addressed store, hash-verified

40};
41
42function hasOwnSetting<T extends object>(settings: T, key: PropertyKey): boolean {
43 return Object.prototype.hasOwnProperty.call(settings, key);
44}
45
46function delay(ms: number): Promise<void> {
47 return new Promise((resolve) => window.setTimeout(resolve, ms));

Calls

no outgoing calls

Tested by

no test coverage detected