Creates a generator that yields values from prependValues followed by values from the input iterable.
Type of values in the input iterable
Type of values to prepend
The values to yield before the input values
A function that takes an iterable and yields a new generator with prepended values
Values from prependValues followed by values from the input iterable
G.pipe( [3, 4, 5], G.prepend([1, 2]), G.array) // [1, 2, 3, 4, 5] Copy
G.pipe( [3, 4, 5], G.prepend([1, 2]), G.array) // [1, 2, 3, 4, 5]
Creates a generator that yields values from prependValues followed by values from the input iterable.