A.Enum.take_while

You're seeing just the function take_while, go back to A.Enum module for more information.
Link to this function

take_while(enumerable, fun)

View Source

Specs

take_while(t(val), (val -> as_boolean(term()))) :: [val] when val: value()

Takes the elements from the beginning of the enumerable while fun returns a truthy value.

Mirrors Enum.take_while/2 with higher performance for Aja structures.