Enum.to_list

You're seeing just the function to_list, go back to Enum module for more information.

Specs

to_list(t()) :: [element()]

Converts enumerable to a list.

Examples

iex> Enum.to_list(1..3)
[1, 2, 3]