Bottle.Number.is_zero

You're seeing just the macro is_zero, go back to Bottle.Number module for more information.

Guard that passes when a number is 0 (including float 0.0)

Examples

iex> is_zero(0)
true

iex> is_zero(0.0)
true

iex> is_zero(1)
false

iex> is_zero({"anything", "else"})
false