Bottle.Number.is_pos_float
You're seeing just the macro
is_pos_float
, go back to Bottle.Number module for more information.
Guard that passes when for any positive float
Examples
iex> is_pos_float(1.1) true
iex> is_pos_float(-1.1) false
iex> is_pos_float(0.0) false
iex> is_pos_float(0) false
iex> is_pos_float(1) false
iex> is_pos_float(-1) false
iex> is_pos_float({"anything", "else"}) false