next
Gets the next element moves forward and returns the got element. It is an operator function to use in for cycles.
Receiver
The used iterator.
Return
The next element that the operation steps over.
Type Parameters
Element
The type of elements in the iterator.