API reference / @evolu/common / Type / NegativeInt

Variable: NegativeInt

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

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

Was this page helpful?