MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / hasSetOutputData

Function hasSetOutputData

cli/src/utils/implementor-helpers.ts:698–705  ·  view source on GitHub ↗

Type guard for set_output input with data property

(input: unknown)

Source from the content-addressed store, hash-verified

696
697/** Type guard for set_output input with data property */
698function hasSetOutputData(input: unknown): input is SetOutputInput {
699 return (
700 typeof input === 'object' &&
701 input !== null &&
702 'data' in input &&
703 typeof (input as SetOutputInput).data === 'object'
704 )
705}
706
707/**
708 * Extract the selection reason from multi-prompt agent's set_output block.

Callers 1

extractSelectionReasonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected