(item: Inspector.ValueItem)
| 383 | const {setOpenPanel} = s.useContext(SidePanelCtx)! |
| 384 | |
| 385 | function getValueActionInspect(item: Inspector.ValueItem): ValueNodeAction | undefined { |
| 386 | |
| 387 | if (item.value().type !== debug.ValueType.Unknown) { |
| 388 | return { |
| 389 | icon: 'Eye', |
| 390 | title: 'Inspect', |
| 391 | onClick() { |
| 392 | ctx.output.emit(msg('ConsoleInspectValue', item.itemId)) |
| 393 | }, |
| 394 | } |
| 395 | } |
| 396 | } |
| 397 | function getValueActionGraph(signal: Inspector.Signal): ValueNodeAction { |
| 398 | return { |
| 399 | icon: 'Graph', |
no outgoing calls
no test coverage detected
searching dependent graphs…