API reference / @evolu/common / Type / PositiveNumber

Variable: PositiveNumber

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

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

Was this page helpful?