plus Can Destroy
fun A_Number.plusCanDestroy(aNumber: A_Number, canDestroy: Boolean): A_Number
Content copied to clipboard
Add the receiver and the argument aNumber and answer the result.
Implementations may double-dispatch to addToIntegerCanDestroy or addToInfinityCanDestroy, where actual implementations of the addition operation should reside.
Return
The result of adding the operands.
See also
Parameters
a Number
An integral numeric.
can Destroy
true if the operation may modify either operand, false otherwise.