Returns a new array with every n-th item from the input array.
1.0.0
Stepped collection.
step([1, 2, 3, 4, 5, 6], 2)// => [1, 3, 5]
Array to use.
Step to use.
Generated using TypeDoc
Returns a new array with every n-th item from the input array.
Since
1.0.0
Returns
Stepped collection.
Example