interface Iterator
source · line 4public
public interface Iterator<T>
A one-way cursor whose next operation returns Some(value) or None at the end.
Extensions
public fun <T> Iterator<T>.asSequence(): Sequence<T>· scoop:scoop.std:0.1.0
function next
source · line 8public
public fun next(): Option<T>
Returns the next value or None when iteration is exhausted.
type parameter T
source · line 4public
T