timesCanDestroy

fun A_Number.timesCanDestroy(aNumber: A_Number, canDestroy: Boolean): A_Number

Multiply the receiver and the argument aNumber and answer the result.

Implementations may double-dispatch to multiplyByIntegerCanDestroy or multiplyByInfinityCanDestroy, where actual implementations of the multiplication operation should reside.

Return

The result of multiplying the operands.

See also

Parameters

aNumber

An integral numeric.

canDestroy

true if the operation may modify either operand, false otherwise.