# `Croma.NonNegInteger`
[🔗](https://github.com/skirino/croma/blob/main/lib/croma/builtin_type.ex#L36)

Module that represents the Elixir's built-in non_neg_integer type.
Intended to be used with other parts of croma to express non_neg_integer variables.

# `t`

```elixir
@type t() :: non_neg_integer()
```

# `valid?`

```elixir
@spec valid?(term()) :: boolean()
```

Simply checks the argument's type using `is_integer(var!(x)) and var!(x) >= 0`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
