SplitScript reference / SetIterator

SetIterator

type constructor

SetIterator<T where Equatable>

Iterates over a set while detecting structural mutation.

Examples

Name a set cursor in an interface

state "game.exe" {}

fn inspect(iterator: SetIterator<String>) {}

Methods

MemberDescriptionAvailable through
iteratorReturns this cursor without restarting set traversal.
nextAdvances to the next set element.