Returns the next value of an iterator, or throws NoValueToGet if the iterator is done.
NoValueToGet
// Returns 1it.nextValue(it.iterator([1, 2, 3])) Copy
// Returns 1it.nextValue(it.iterator([1, 2, 3]))
// Throws NoValueToGetit.nextValue(it.iterator([])) Copy
// Throws NoValueToGetit.nextValue(it.iterator([]))
Returns the next value of an iterator, or throws
NoValueToGet
if the iterator is done.