API reference / @evolu/common / Type / PositiveInt

Variable: PositiveInt

const PositiveInt: BrandType<
  Type<
    "Brand",
    number & Brand<"Int"> & Brand<"NonNegative">,
    number,
    NonNegativeError,
    number & Brand<"Int">,
    NumberError | IntError
  >,
  "Positive",
  PositiveError,
  NumberError | NonNegativeError | IntError
>;

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

Was this page helpful?