MCPcopy
hub / github.com/garrytan/gstack / hasOutArg

Function hasOutArg

browse/src/read-commands.ts:102–104  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

100 * a malformed `--out=` still counts as an out attempt (fail safe: gate it).
101 */
102export function hasOutArg(args: string[]): boolean {
103 return args.some(a => a === '--out' || a.startsWith('--out='));
104}
105
106/**
107 * Convert an evaluate() result to its string form — the exact conversion `js`/`eval`

Callers 4

commands.test.tsFile · 0.90
canDispatchOverTunnelFunction · 0.90
isWriteInvocationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected