BiMap.delete_value
You're seeing just the function
delete_value
, go back to BiMap module for more information.
Specs
Deletes {_, value}
pair from bimap
.
If the value
does not exist, returns bimap
unchanged.
Examples
iex> bimap = BiMap.new([a: 1, b: 2])
iex> BiMap.delete_value(bimap, 2)
#BiMap<[a: 1]>
iex> BiMap.delete_value(bimap, 3)
#BiMap<[a: 1, b: 2]>