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

Function isFolderColorId

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

Source from the content-addressed store, hash-verified

171])
172
173function isFolderColorId(value: unknown): value is FolderColorId {
174 return typeof value === 'string' && VALID_FOLDER_COLOR_IDS.has(value as FolderColorId)
175}
176
177function normalizeFolderColors(value: unknown): Record<string, FolderColorId> {
178 const out: Record<string, FolderColorId> = {}

Callers 1

normalizeFolderColorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected