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

Function normalizeEmptyUserFieldValue

src/modals/taskModalUserFields.ts:91–96  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

89}
90
91function normalizeEmptyUserFieldValue(value: unknown): unknown {
92 if (value === null || value === undefined || value === "") {
93 return null;
94 }
95 return value;
96}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected