Map.put/3
defmodule Map do
def put(map, key, value)
end
Puts the given value
under key
in map
.
If map
doesn’t contain key
then it’s added using value
as value.
defmodule Map do
def put(map, key, value)
end
Puts the given value
under key
in map
.
If map
doesn’t contain key
then it’s added using value
as value.