Bottle.Number.is_pos_integer

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

is_pos_integer(sub)

View Source (macro)

Guards that passes when a number is a pos_integer

Examples

iex> is_pos_integer(1) true

iex> is_pos_integer(1.1) false

iex> is_pos_integer(0) false

iex> is_pos_integer(-1) false

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