@for (item of item().children; track item) { @if (item.type === 'item') { } }