multiply By Float Can Destroy
fun A_Number.multiplyByFloatCanDestroy(floatObject: A_Number, canDestroy: Boolean): A_Number
Content copied to clipboard
Multiply the receiver by the given float, destroying one or the other if it's mutable and canDestroy is true. Because of the requirement that the argument be a float rather than an arbitrary A_Number, this is usually only used for double-dispatching.
Return
The product, possibly recycling one of the inputs if canDestroy is true.
Parameters
float Object
The float to multiply the receiver by.
can Destroy
Whether a mutable receiver or argument may be destroyed and/or recycled to hold the product.