Skip to content
masterclass Buddy

Pydantic · Type Alias

NegativeInt

NegativeInt is a Pydantic type for integers less than zero. It rejects zero and positive integers during validation.

Last updated

Syntax

NegativeInt

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • PositiveInt
  • NonPositiveInt
  • NonNegativeInt
  • StrictInt
  • Lt

Source: Pydantic Types | Pydantic Docs. Checked 2026-11-03.