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

Function ensureString

backend/src/agents/agents.controller.ts:256–258  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

254}
255
256function ensureString(value: unknown): string | undefined {
257 return typeof value === 'string' && value.length > 0 ? value : undefined;
258}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected