MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / isFolderIconId

Function isFolderIconId

apps/desktop/src/main/vault.ts:156–158  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

154])
155
156function isFolderIconId(value: unknown): value is FolderIconId {
157 return typeof value === 'string' && VALID_FOLDER_ICON_IDS.has(value as FolderIconId)
158}
159
160const VALID_FOLDER_COLOR_IDS = new Set<FolderColorId>([
161 'red',

Callers 1

normalizeVaultSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected