Map.fetch!/2
defmodule Map do
def fetch!(map, key)
end
Fetches the value for a specific key in the given map.
If map doesn’t contain key, a KeyError exception is raised.
defmodule Map do
def fetch!(map, key)
end
Fetches the value for a specific key in the given map.
If map doesn’t contain key, a KeyError exception is raised.