Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.
Overrides Enumerable#sum to use more performant implementation on integer ranges.
Iterator(T)
Iterator(T)
Iterator(T)
Enumerable(T)
Enumerable(T)
Reference
Reference
Reference
Object
Object
Object
Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.
Overrides Enumerable#sum to use more performant implementation on integer ranges.
© 2012–2026 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.19.0/Steppable/StepIterator.html