Function

next()

Advances to the next element and returns it, or None if no next element exists.

Source
fun next() -> Optional<???> { inout }