SplitScript reference / ExclusiveRangeIterator

ExclusiveRangeIterator

type constructor

ExclusiveRangeIterator<T where Integer>

Iterates from an included integer start to an excluded end.

Examples

Name an exclusive-range cursor in an interface

state "game.exe" {}

fn inspect(iterator: ExclusiveRangeIterator<u16>) {}

Methods

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