NumStateOperations<T extends num> extension
Available operations on StatefulValuable
- on
Methods
-
add(
num other) → void - Reassign the state value by adding an other number
-
multiply(
num other) → void - Reassign the state value by mutiplying with an other number
-
negate(
) → void - Reassign the state value with the negated current value (current * -1)
-
substract(
num other) → void - Reassign the state value by substracting an other number