MCPcopy Create free account
hub / github.com/hashintel/hash / isDbPersistedSetting

Function isDbPersistedSetting

apps/plugin-browser/src/shared/storage.ts:128–131  ·  view source on GitHub ↗
(
  key: keyof LocalStorage,
)

Source from the content-addressed store, hash-verified

126};
127
128const isDbPersistedSetting = (
129 key: keyof LocalStorage,
130): key is PersistedUserSettingsKey =>
131 persistedUserSettingKeys.includes(key as PersistedUserSettingsKey);
132
133export const getFromLocalStorage = async <Key extends keyof LocalStorage>(
134 key: Key,

Callers 1

setInLocalStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected