subtractFromIntegerCanDestroy

fun A_Number.subtractFromIntegerCanDestroy(anInteger: AvailObject, canDestroy: Boolean): A_Number

Subtract the receiver from the given integer, destroying one or the other if it's mutable and canDestroy is true.

Return

The difference, possibly recycling one of the inputs if canDestroy is true.

Parameters

anInteger

The integer to subtract from.

canDestroy

Whether a mutable receiver or argument may be destroyed and/or recycled to hold the difference.