(children)
| 2 | import { isTab } from './elementTypes'; |
| 3 | |
| 4 | export function getTabsCount(children) { |
| 5 | let tabCount = 0; |
| 6 | deepForEach(children, (child) => { |
| 7 | if (isTab(child)) tabCount++; |
| 8 | }); |
| 9 | |
| 10 | return tabCount; |
| 11 | } |
no test coverage detected
searching dependent graphs…