The source iterable.
The sequence to concatenate to the first sequence.
Concatenates two sequences.
const numbers = [1, 2];
const evenMoreNumbers = from(numbers).concatenate([3, 4], [5, 6]); // [1, 2, 3, 4, 5, 6]
TSource The type of the source iterable.
An IEnumerable
The source iterable.
Rest
...collections: Iterable<TSource>[]The sequences to concatenate to the first sequence.
Generated using TypeDoc
Concatenates two sequences.
Example
Typeparam
TSource The type of the source iterable.
Returns
An IEnumerable that contains the concatenated elements of the two input sequences.