next i
This function works just like its Python counterpart. In particular, it retrieves the next item from an iterator.
|
|
|
|
|
When the iterator is exhausted, null is returned.
|
The object next is a method function.