BiMap.fetch_key-exclamation-mark

You're seeing just the function fetch_key-exclamation-mark, go back to BiMap module for more information.
Link to this function

fetch_key!(bimap, value)

View Source

Specs

fetch_key!(t(), v()) :: k()

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