API reference / @evolu/common / Type / NegativeInt

Variable: NegativeInt

const NegativeInt: BrandType<
  Type<
    "Brand",
    number & Brand<"Int"> & Brand<"NonPositive">,
    number,
    NonPositiveError,
    number & Brand<"Int">,
    NumberError | IntError
  >,
  "Negative",
  NegativeError,
  NumberError | NonPositiveError | IntError
>;

Defined in: packages/common/src/Type.ts:1632

Was this page helpful?