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

Function normalizeNullableString

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

Source from the content-addressed store, hash-verified

2626}
2627
2628function normalizeNullableString(value: unknown): string | null {
2629 const normalized = String(value ?? '').trim();
2630 return normalized || null;
2631}
2632
2633function normalizeStringList(value: unknown): string[] {
2634 return Array.isArray(value)

Callers 15

listSkillsMethod · 0.70
installPluginMethod · 0.70
mapSkillToolDependencyFunction · 0.70
mapSkillMetadataFunction · 0.70
mapSkillErrorInfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected