BiMultiMap.fetch_keys-exclamation-mark

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

fetch_keys!(bimultimap, value)

View Source

Specs

fetch_keys!(t(), v()) :: [k()]

Fetches all keys for specific value in bimultimap

Raises ArgumentError if the key is absent. This function is exact mirror of fetch!/2.

Examples

iex> bimultimap = BiMultiMap.new([a: 1, c: 3, d: 3])
iex> BiMultiMap.fetch_keys!(bimultimap, 1)
[:a]
iex> BiMultiMap.fetch_keys!(bimultimap, 3)
[:c, :d]