List.to_tuple

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

Specs

to_tuple(list()) :: tuple()

Converts a list to a tuple.

Inlined by the compiler.

Examples

iex> List.to_tuple([:share, [:elixir, 163]])
{:share, [:elixir, 163]}