Skip to content

@UnpackIter[T]

An iterator whose remaining elements can be unpacked without advancing it. Spreading and next still consume it. Captured rests are separate iterators over what is left.

Inherits from: Iter[T], Unpack[T, Rest: UnpackIter[T]]

Methods

(iter)() -> UnpackIter[T]

Returns this iterator.

iter() -> UnpackIter[T]

Returns this iterator.