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

MemberDescriptionAvailable through
iteratorReturns this cursor without restarting range traversal.
nextAdvances to the next integer through the included endpoint.