Executes the given function for each remaining element until all elements have been processed or the function throws an error. Function is applied in the order of iteration, if that order is specified.
function to apply to each remaining element.
Returns true
if the iteration has more elements. (In other words, returns true
if
next()
would return an element rather than throwing an error.)
true
if the iteration has more elements
Returns the next element in the iteration.
the next element in the iteration.
Generated using TypeDoc
An iterator over a collection.