drop
get all except the first n items from a list
(list xs, long n) -> list
Returns a list of elements in xs skipping the first n elements. Returns an empty list if n is greater than the size of xs. Returns xs if n is negative.
Returns nil if n is nil or xs is nil.
Parameters
| Name | Type | Description |
|---|---|---|
xs |
list | The list to work with |
n |
long | The number of elements to skip in the result |