(outputs: readonly NotebookCellOutput[])
| 638 | return cell.outputs.map(getTextOutputValue).join(''); |
| 639 | } |
| 640 | export function hasErrorOutput(outputs: readonly NotebookCellOutput[]) { |
| 641 | const errorOutput = outputs.find( |
| 642 | (op) => op.items.length && !op.items.some((opit) => opit.mime !== CellOutputMimeTypes.error) |
| 643 | ); |
| 644 | |
| 645 | return !!errorOutput; |
| 646 | } |
| 647 | |
| 648 | // eslint-disable-next-line complexity |
| 649 | export async function updateNotebookMetadataWithSelectedKernel( |
no outgoing calls
no test coverage detected