MCPcopy Create free account
hub / github.com/ShipSecAI/studio / normaliseString

Function normaliseString

worker/src/components/security/httpx.ts:560–566  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

558}
559
560function normaliseString(value: unknown): string | null {
561 if (typeof value === 'string') {
562 const trimmed = value.trim();
563 return trimmed.length > 0 ? trimmed : null;
564 }
565 return null;
566}
567
568componentRegistry.register(definition);
569

Callers 1

parseHttpxOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected