MCPcopy
hub / github.com/callumalpass/tasknotes / normalizePropertyValues

Function normalizePropertyValues

src/utils/projectFilterUtils.ts:22–30  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

20}
21
22function normalizePropertyValues(value?: string): string[] {
23 const normalized = normalizePropertyValue(value);
24 return normalized.length > 0
25 ? normalized
26 .split(",")
27 .map((item) => item.trim())
28 .filter(Boolean)
29 : [];
30}
31
32export function normalizeProjectPropertyKey(key?: string): string {
33 return key ? key.trim() : "";

Callers 1

matchesProjectPropertyFunction · 0.85

Calls 1

normalizePropertyValueFunction · 0.85

Tested by

no test coverage detected