concatenate

fun <T : A_Tuple> concatenate(    firstTuple: T,     secondTuple: T,     canDestroy: Boolean): T

Concatenate two A_Tuples or A_Strings, relying on type deduction to decide which will be produced based on the arguments.

Return

The concatenated tuple, with as strong a static type as can be determined from the input types.

Parameters

firstTuple

The first tuple or string to concatenate.

secondTuple

The second tuple or string to concatenate.

canDestroy

Whether either input tuple may be destroyed if it's also mutable.

T

The kind of tuple to operate on (A_Tuple or a subclass}.