Enum.drop_while
You're seeing just the function
drop_while
, go back to Enum module for more information.
Specs
drop_while(t(), (element() -> as_boolean(term()))) :: list()
Drops elements at the beginning of the enumerable
while fun
returns a
truthy value.
Examples
iex> Enum.drop_while([1, 2, 3, 2, 1], fn x -> x < 3 end)
[3, 2, 1]