MCPcopy Index your code
hub / github.com/callstack/agent-device / stringifyOutputValue

Function stringifyOutputValue

src/compat/maestro/run-script.ts:220–224  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

218}
219
220function stringifyOutputValue(value: unknown): string {
221 if (typeof value === 'string') return value;
222 if (typeof value === 'number' || typeof value === 'boolean') return String(value);
223 return JSON.stringify(value);
224}
225
226function trimHttpErrorOutput(stderr: string): string {
227 const trimmed = stderr.trim();

Callers 1

executeRunScriptFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…