MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / normalizeLookupValue

Function normalizeLookupValue

src/cli/helpers/taskResolution.ts:10–13  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

8}
9
10function normalizeLookupValue(value?: string): string | undefined {
11 const trimmed = value?.trim();
12 return trimmed && trimmed.length > 0 ? trimmed : undefined;
13}
14
15function formatAmbiguousTaskMatches(tasks: TaskInfo[]): string {
16 return tasks

Callers 1

resolveTaskForCliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected