Returns a generator that skips elements as long as they satisfy the predicate, then yields all remaining elements.
The type of elements in the iterable
Function to test each element with its index
Elements after the first element that fails the predicate test
G.pipe( [1, 2, 3, 4, 1, 2], G.skipWhile(x => x < 3), G.array) // [3, 4, 1, 2] Copy
G.pipe( [1, 2, 3, 4, 1, 2], G.skipWhile(x => x < 3), G.array) // [3, 4, 1, 2]
Returns a generator that skips elements as long as they satisfy the predicate, then yields all remaining elements.