For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
concat
concat(var lhs: IntTuple, rhs: IntTuple) -> IntTuple
Concatenates two IntTuple instances into a single IntTuple.
This function appends all elements from the right-hand side tuple to the left-hand side tuple, creating a new combined tuple. The operation preserves the hierarchical structure of both tuples.
Args:
- lhs (
IntTuple): The left-hand sideIntTuplethat will be modified (var parameter). - rhs (
IntTuple): The right-hand sideIntTuplewhose elements will be appended.
Returns:
IntTuple: A new IntTuple containing all elements from both tuples in sequence.