Skip to content
Matt Fichman edited this page Dec 20, 2012 · 8 revisions

An iterator is an object that generates a sequence of values of the same type.

Returns true if there are more elements in the array.

next() :a

Returns the next element in the array, or nil if there are no more elements.

Clone this wiki locally