[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) › Int0To100OrNonNegativeInt

```ts
type Int0To100OrNonNegativeInt = 0 | Int1To100 | NonNegativeInt;
```

Defined in: [packages/common/src/Number.ts:56](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Number.ts#L56)

Integer literal from 0 to 100 or [NonNegativeInt](https://evolu.dev/docs/api-reference/common/Type/variables/NonNegativeInt).

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

### Example

```ts
import {
  assertEqual,
  NonNegativeInt,
  type Int0To100OrNonNegativeInt,
} from "@evolu/common";

const literal: Int0To100OrNonNegativeInt = 10;
const validated: Int0To100OrNonNegativeInt = NonNegativeInt.orThrow(101);

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