Iterator.resetIterator

if reset_after_foreach is true: resets the counters after each foreach so the next iteration starts from the beginning

if reset_after_foreach is false: resets the counters only when the whole map was iterated

class Iterator
protected
void
resetIterator

Parameters

interrupted bool

whether the last foreach call was interrupted using break (true) or not (false)

Meta