Type guard for set_output input with data property
(input: unknown)
| 696 | |
| 697 | /** Type guard for set_output input with data property */ |
| 698 | function 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. |
no outgoing calls
no test coverage detected