[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:80](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Number.ts#L80)

[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);
```