Enum.drop
You're seeing just the function
drop
, go back to Enum module for more information.
Specs
Drops the amount
of elements from the enumerable
.
If a negative amount
is given, the amount
of last values will be dropped.
The enumerable
will be enumerated once to retrieve the proper index and
the remaining calculation is performed from the end.
Examples
iex> Enum.drop([1, 2, 3], 2)
[3]
iex> Enum.drop([1, 2, 3], 10)
[]
iex> Enum.drop([1, 2, 3], 0)
[1, 2, 3]
iex> Enum.drop([1, 2, 3], -1)
[1, 2]