CountdownIter[optional T: ((I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val) & Integer[T] val)]¶
class ref CountdownIter[optional T: ((I8 val | I16 val | I32 val |
I64 val | I128 val | ILong val |
ISize val | U8 val | U16 val |
U32 val | U64 val | U128 val |
ULong val | USize val) & Integer[T] val)] is
Iterator[T] ref
Implements¶
- Iterator[T] ref
Constructors¶
create¶
Create am Iterator
that counts down according to the specified arguments.
from
is exclusive, to
is inclusive.
Parameters¶
- from: T
- to: T = call
Returns¶
- CountdownIter[T] ref^
Public Functions¶
has_next¶
Returns¶
- Bool val
next¶
Returns¶
- T