Packages
map_delete_empty_helper
0.1.0
Simple helper function to delete nil items from a map recursively.
Current section
Files
Jump to
Current section
Files
map_delete_empty_helper
README.md
README.md
# MapHelper**TODO: Add description**## InstallationIf [available in Hex](https://hex.pm/docs/publish), the package can be installedby adding `map_helper` to your list of dependencies in `mix.exs`:```elixirdef deps do [ {:map_helper, "~> 0.1.0"} ]end```## Usage```result = Eddy147.MapHelper.removeEmpty(%{product: %{category: "45", code: nil}, date: "2021-04-01"})assert result == %{product: %{category: "45"}, date: "2021-04-01"}```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)and published on [HexDocs](https://hexdocs.pm). Once published, the docs canbe found at [https://hexdocs.pm/map_helper](https://hexdocs.pm/map_helper).