staticTupleAtPutting

Replace the specified element of the tuple, destructively if it's mutable and of the right optimized element type. Answer the modified original or edited copy.

Return

Either the given tuple, modified, or a new tuple containing the edit. This is strengthened to AvailObject for convenience.

Parameters

tuple

The tuple in which to replace a value.

index

Which element should be replaced.

newValue

The value to write.