DarkMatter.Guards.is_neg_integer
You're seeing just the macro
is_neg_integer
, go back to DarkMatter.Guards module for more information.
Specs
Define a guard clause for working with neg_integer/0
.
Examples
iex> is_neg_integer(-5)
true
iex> is_neg_integer(0)
false
iex> is_neg_integer(99)
false