Chains multiple arrays into a single iterable sequence.
The type of elements in the input arrays
Multiple input arrays to be chained together
A generator yielding all elements from input arrays in order
[...chain([1, 2], [3, 4], [5, 6])] // [1, 2, 3, 4, 5, 6] Copy
[...chain([1, 2], [3, 4], [5, 6])] // [1, 2, 3, 4, 5, 6]
Chains multiple arrays into a single iterable sequence.