Iterates over a sequence of lines.
The contents that will be iterated as lines.
Closes the iterator. For instane, if the iterator is backed-up by a file, it needs to be closed before the file can be deleted.
The total number of elements of the iterator, or undefined if it is not possible to calculate.
The number of values returned by a call to next(). A value of one means one value, a value greater than one means an array with that amount of values.
The type of this iterator.
True if it has another element to return.
the next element.
Resets the iterator.
Iterates over a sequence of lines.
Param: contents
The contents that will be iterated as lines.