enumerate< E> function
Returns an Iterable of IndexedValues where the nth value holds the nth
element of iterable
and its index.
Implementation
Iterable<IndexedValue<E>> enumerate<E>(Iterable<E> iterable) =>
new EnumerateIterable<E>(iterable);