@let attr = attribute(); @let index = fieldIndex(); @if (attr) { @if (index !== undefined) { @let values = valueOrValues() ?? [] | toArray; } }