/array/skip
stdSkips the given count of elements from the given array.
Type signature
(count: number) => <T>(xs: T[]) => T[]
Examples
skip(2)([1, 2, 3, 4, 5]);
// ⇒ [3, 4, 5]
Try in REPL
Questions
- How to skip the first few elements of an array?