indexed property

Iter<(int, T)> get indexed

Returns an Iter over the elements of this iterable, paired with their index.

Implementation

Iter<(int, T)> get indexed =>
    Iter.fromIterable(IterableExtensions(this).indexed);