Returns an OperationFunction that concatenates the given Iterables to the end of the source Iterable.
Type of items in the Iterables.
Iterables to concatenate.
An OperationFunction that concatenates the given Iterables to the end of the source Iterable.
const result = concatWith([4, 5, 6], [7, 8, 9])([1, 2, 3]);console.log([...result]); // [1, 2, 3, 4, 5, 6, 7, 8, 9] Copy
const result = concatWith([4, 5, 6], [7, 8, 9])([1, 2, 3]);console.log([...result]); // [1, 2, 3, 4, 5, 6, 7, 8, 9]
Returns an OperationFunction that concatenates the given Iterables to the end of the source Iterable.