snowhite v2.1.3 Snowhite.Helpers.Map View Source
Link to this section Summary
Functions
Appends to a list in a map.
Link to this section Functions
Specs
Appends to a list in a map.
iex> append(%{}, :numbers, 1) %{numbers: [1]}
iex> append(%{numbers: [1]}, :numbers, 2) %{numbers: [1, 2]}