A.Vector.uniq

You're seeing just the function uniq, go back to A.Vector module for more information.

Specs

uniq(t(val)) :: t(val) when val: value()

Returns a copy of the vector without any duplicated element.

The first occurrence of each element is kept.

Examples

iex> A.Vector.new([1, 1, 2, 1, 2, 3, 2]) |> A.Vector.uniq()
vec([1, 2, 3])