Bottle.Number.is_non_zero_float
You're seeing just the macro
is_non_zero_float
, go back to Bottle.Number module for more information.
Guard that passes when for any float that is not 0.0
Examples
iex> is_non_zero_float(1.1)
true
iex> is_non_zero_float(-1.1)
true
iex> is_non_zero_float(0.0)
false
iex> is_non_zero_float(0)
false
iex> is_non_zero_float(1)
false
iex> is_non_zero_float(-1)
false