A.Vector.size

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

Specs

size(t()) :: non_neg_integer()

Returns the number of elements in vector.

Runs in constant time.

Examples

iex> A.Vector.new(10_000..20_000) |> A.Vector.size()
10001
iex> A.Vector.new() |> A.Vector.size()
0