Bottle.Number.is_non_neg_float

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

is_non_neg_float(sub)

View Source (macro)

Guard that passes when a number is a non_neg_float

Examples

iex> is_non_neg_float(1) false

iex> is_non_neg_float(1.1) true

iex> is_non_neg_float(0.0) true

iex> is_non_neg_float(0) false

iex> is_non_neg_float(-1) false

iex> is_non_neg_float(-1.1) false

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