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

Function normalizeString

packages/codex-native-api/src/auth_state.ts:297–300  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

295}
296
297function normalizeString(value: unknown): string | null {
298 const normalized = typeof value === 'string' ? value.trim() : '';
299 return normalized || null;
300}
301
302function firstString(...values: unknown[]): string | null {
303 for (const value of values) {

Callers 3

resolveCodexHomeFunction · 0.70
resolveRequestedAuthPathFunction · 0.70
firstStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected