# `Igniter.Code.Map`
[🔗](https://github.com/ash-project/igniter/blob/v0.8.3/lib/igniter/code/map.ex#L5)

Utilities for working with maps.

# `mappify`

Puts a value into nested maps at the given path

# `put_in_map`

```elixir
@spec put_in_map(
  Sourceror.Zipper.t(),
  [term()],
  term(),
  (Sourceror.Zipper.t() -&gt; {:ok, Sourceror.Zipper.t()} | :error) | nil
) :: {:ok, Sourceror.Zipper.t()} | :error
```

Puts a value at a path into a map, calling `updater` on the zipper at the value if the key is already present

# `set_map_key`

```elixir
@spec set_map_key(Sourceror.Zipper.t(), term(), term(), (Sourceror.Zipper.t() -&gt;
                                                     {:ok, Sourceror.Zipper.t()}
                                                     | :error)) ::
  {:ok, Sourceror.Zipper.t()} | :error
```

Puts a key into a map, calling `updater` on the zipper at the value if the key is already present

---

*Consult [api-reference.md](api-reference.md) for complete listing*
