Increase given input until upper bound. Returned value will be normalized to 0, once it reaches upperBoundExcluding.
upperBoundExcluding
Special case: If upper bound is 0 (zero), the resulting value is always 0 (zero) and immediately signals restart === true.
restart === true
value to increase
upper bound, which returned value must not reach but instead will wrap around to 0
Increase given input until upper bound. Returned value will be normalized to 0, once it reaches
upperBoundExcluding
.Special case: If upper bound is 0 (zero), the resulting value is always 0 (zero) and immediately signals
restart === true
.