MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / normalizeNullableText

Function normalizeNullableText

src/core/bridge_coordinator.ts:17150–17153  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

17148}
17149
17150function normalizeNullableText(value: unknown): string | null {
17151 const normalized = compactWhitespace(value);
17152 return normalized || null;
17153}
17154
17155function normalizeStringArray(value: unknown): string[] {
17156 return Array.isArray(value)

Calls 1

compactWhitespaceFunction · 0.70

Tested by

no test coverage detected