
  -spec map_get(Key, Map) -> Value
                   when Map :: map(), Key :: any(), Value :: any().

Since:
  OTP 21.0

  Returns value Value associated with Key if Map contains Key.

  The call fails with a {badmap,Map} exception if Map is not a
  map, or with a {badkey,Key} exception if no value is associated
  with Key.

  Example:

    > Key = 1337,
      Map = #{42 => value_two,1337 => "value one","a" => 1},
      map_get(Key,Map).
    "value one"

  Allowed in guard tests.
