A.Vector.append
You're seeing just the function
append
, go back to A.Vector module for more information.
Specs
Appends a value
at the end of a vector
.
Runs in effective constant time.
Examples
iex> A.Vector.new() |> A.Vector.append(:foo)
vec([:foo])
iex> A.Vector.new(1..5) |> A.Vector.append(:foo)
vec([1, 2, 3, 4, 5, :foo])