ArrayIterator¶
No import is needed.
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
ArrayIterator¶
Cursor produced by T[].iterator() when an array participates as Collection / IndexedCollection. Concrete for (let x in arr) still uses the native index loop.
next¶
Returns the next element, or None if exhausted.