Returns all but the first (or last) count of items from an array, or the fallback if list is null or undefined.
count
list
drop([])(4)([1, 2, 3, 4, 5, 6]);// => [5, 6]drop([])(4)(undefined);// => [] Copy
drop([])(4)([1, 2, 3, 4, 5, 6]);// => [5, 6]drop([])(4)(undefined);// => []
Generated using TypeDoc
Returns all but the first (or last)
count
of items from an array, or the fallback iflist
is null or undefined.