BiMap.size
You're seeing just the function
size
, go back to BiMap module for more information.
Specs
size(t()) :: non_neg_integer()
Returns the number of elements in bimap
.
The size of a bimap is the number of key-value pairs that the map contains.
Examples
iex> BiMap.size(BiMap.new)
0
iex> bimap = BiMap.new([a: "foo", b: "bar"])
iex> BiMap.size(bimap)
2