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

Function getTagValue

src/utils/tasknotesLogger.ts:41–45  ·  view source on GitHub ↗
(tag: string | (() => string) | undefined)

Source from the content-addressed store, hash-verified

39};
40
41function getTagValue(tag: string | (() => string) | undefined): string | null {
42 const value = typeof tag === "function" ? tag() : tag;
43 const trimmed = value?.trim();
44 return trimmed ? trimmed : null;
45}
46
47function getLogMessage(tag: string | (() => string) | undefined, message: string, metadata: TaskNotesLogMetadata = {}): string {
48 const parts = ["TaskNotes"];

Callers 2

getLogMessageFunction · 0.85
childFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected