[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Number](https://evolu.dev/docs/api-reference/common/Number) › Int1To100OrPositiveInt

```ts
type Int1To100OrPositiveInt = Int1To100 | PositiveInt;
```

Defined in: [packages/common/src/Number.ts:85](https://github.com/evoluhq/evolu/blob/dd96d79f1dbe9a49fa12ce8e0aa7d3d0177795ca/packages/common/src/Number.ts#L85)

[Int1To100](https://evolu.dev/docs/api-reference/common/Number/type-aliases/Int1To100) or [PositiveInt](https://evolu.dev/docs/api-reference/common/Type/variables/PositiveInt).

Convenience input accepting integer literals from 1 to 100 or an
already-validated [PositiveInt](https://evolu.dev/docs/api-reference/common/Type/variables/PositiveInt) for larger or dynamic values.

### Example

```ts
import {
  assertEqual,
  PositiveInt,
  type Int1To100OrPositiveInt,
} from "@evolu/common";

const literal: Int1To100OrPositiveInt = 10;
const validated: Int1To100OrPositiveInt = PositiveInt.orThrow(101);

assertEqual(literal, 10);
assertEqual(validated, 101);
```