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
| Member | Description | Available through |
|---|---|---|
| iterator | Returns this cursor without restarting set traversal. | |
| next | Advances to the next set element. |