A.Vector.to_list
You're seeing just the function
to_list
, go back to A.Vector module for more information.
Specs
Converts the vector
to a list.
Runs in linear time.
Examples
iex> A.Vector.new(10..25) |> A.Vector.to_list()
[10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
iex> A.Vector.new() |> A.Vector.to_list()
[]