SplitScript reference / InclusiveRangeIterator
InclusiveRangeIterator
type constructor
InclusiveRangeIterator<T where Integer>
Iterates from an included integer start through an included end.
Examples
Name an inclusive-range cursor in an interface
state "game.exe" {}
fn inspect(iterator: InclusiveRangeIterator<u16>) {}
Methods
| Member | Description | Available through |
|---|---|---|
| iterator | Returns this cursor without restarting range traversal. | |
| next | Advances to the next integer through the included endpoint. |