()
| 103 | } |
| 104 | |
| 105 | function isANotebookOpen() { |
| 106 | if (!isInsiders()) { |
| 107 | return false; |
| 108 | } |
| 109 | /* eslint-disable */ |
| 110 | if (Array.isArray(vscode.window.visibleNotebookEditors) && vscode.window.visibleNotebookEditors.length) { |
| 111 | return true; |
| 112 | } |
| 113 | return !!vscode.window.activeNotebookEditor; |
| 114 | } |
no test coverage detected