appendCanDestroy

fun A_Tuple.appendCanDestroy(newElement: A_BasicObject, canDestroy: Boolean): A_Tuple

Create a tuple with the same elements as the receiver, but with the specified newElement appended.

Return

The tuple containing all the elements that the receiver had, plus the newElement.

Parameters

newElement

The element to append to the receiver to produce a new tuple.

canDestroy

Whether the receiver may be destroyed if it's mutable.