import { Tuple } from "https://deno.land/x/rimbu@0.13.5/deep/index.ts";
const { concat } = Tuple;
Returns a Tuple containing the elements of given tuple1
followed by the elements
of given tuple2
.
Examples
Example 1
Example 1
const t1 = Tuple.of(1, 'a')
const t2 = Tuple.of(true, 5)
console.log(Tuple.concat(t1, t2))
// => [1, 'a', true, 5]
Type Parameters
T1 extends Tuple.Source
T2 extends Tuple.Source