PositiveInt overview

Added in v1.0.0


Table of contents


Number

PositiveInt

Positive integer branded newtype.

Represents positive integers:

 { z | z ∈ ℤ, z > 0, z <= 2 ** 53 - 1 }

Signature

export declare const PositiveInt: Schema<
  Opaque<number, IntBrand<1, 9007199254740991>>,
  Opaque<number, IntBrand<1, 9007199254740991>>
>

Added in v1.0.0