MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / normalizeContextValue

Function normalizeContextValue

src/components/TaskContextMenu.ts:69–71  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

67};
68
69function normalizeContextValue(value: string): string {
70 return value.trim();
71}
72
73function normalizeContextList(contexts: string[] | undefined): string[] {
74 const seen = new Set<string>();

Callers 4

normalizeContextListFunction · 0.85
addContextToListFunction · 0.85
removeContextFromListFunction · 0.85
toggleContextInListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected