@for (entry of items(); track $index) { @if (isSeparator(entry)) {
} @else if (entry.children?.length) { } @else { } }