(output: IOutput)
| 24 | } |
| 25 | |
| 26 | function isExecuteResult(output: IOutput): output is IExecuteResult { |
| 27 | return output.output_type === 'execute_result' |
| 28 | } |
| 29 | |
| 30 | function isError(output: IOutput): output is IError { |
| 31 | return output.output_type === 'error' |