Bottle.Number.is_zero_float

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

is_zero_float(sub)

View Source (macro)

Guard that passes when for 0.0

Examples

iex> is_zero_float(0.0)
true

iex> is_zero_float(0)
false

iex> is_zero_float(1)
false

iex> is_zero_float(1.1)
false

iex> is_zero_float(-1)
false

iex> is_zero_float(-1.1)
false

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