Bottle.Map.is_empty_map
You're seeing just the macro
is_empty_map
, go back to Bottle.Map module for more information.
Guard that passes when for an empty map
Examples
iex> is_empty_map(%{}) true
iex> is_empty_map(%{"foo" => :bar}) false
iex> is_empty_map(%{foo: "bar"}) false
iex> is_empty_map({"anything", "else"}) false