API reference / @evolu/common / Type / NegativeNumber

Variable: NegativeNumber

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

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

Was this page helpful?