MCPcopy Create free account
hub / github.com/dailydotdev/apps / isSettingKey

Function isSettingKey

packages/shared/src/components/spotlight/dispatcher.ts:110–111  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

108type SettingKey = (typeof SETTING_KEYS)[number];
109
110const isSettingKey = (value: unknown): value is SettingKey =>
111 SETTING_KEYS.some((key) => key === value);
112
113const parseToggleSettingPayload = (
114 payload: unknown,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected