IntStateOperations extension
Available operations on StatefulValuable
Methods
-
decrement()
→ void
-
Reassign the state by substract 1
-
divide(num other)
→ void
-
Reassign the state value by dividing with an other number
-
increment()
→ void
-
Reassign the state by adding 1