BiMap.fetch_key-exclamation-mark
You're seeing just the function
fetch_key-exclamation-mark
, go back to BiMap module for more information.
Specs
Fetches the key for specific value
in bimap
.
Raises ArgumentError
if the value is absent. This function is exact mirror of fetch!/2
.
Examples
iex> bimap = BiMap.new([a: 1])
iex> BiMap.fetch_key!(bimap, 1)
:a