slice
description
Returns a new array, which is the fragment of the input
array between the start
& end
indexes. slice
works exactly like Array.prototype.slice
.
Like many methods in conductor, slice
is a pure function and is automatically curried.
example
Here, we simply retrieve all the words which are between the index 1
(inclusively) and the index 3
(exclusively).
Last updated