(children)
| 1823 | * @returns {number} total size |
| 1824 | */ |
| 1825 | const getTotalSize = (children) => { |
| 1826 | let size = 0; |
| 1827 | for (const child of children) { |
| 1828 | size += getItemSize(child); |
| 1829 | } |
| 1830 | return size; |
| 1831 | }; |
| 1832 | |
| 1833 | /** |
| 1834 | * Returns total items. |
no test coverage detected