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

Function normalizeStringList

src/providers/codex/app_client.ts:2633–2637  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

2631}
2632
2633function normalizeStringList(value: unknown): string[] {
2634 return Array.isArray(value)
2635 ? value.map((entry) => String(entry ?? '').trim()).filter(Boolean)
2636 : [];
2637}
2638
2639function normalizeCodexAppServerTransport(value: unknown): CodexAppServerTransport {
2640 const normalized = typeof value === 'string' ? value.trim().toLowerCase() : '';

Callers 3

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected