# DigitCharacter

`type` in `utils` · v0.7.0

<https://docs.seedcord.org/packages/utils/0.7.0/types/digit-character>

Matches any digit as a string ('0'-'9').

## Examples

```ts
import type {DigitCharacter} from 'type-fest';

const a: DigitCharacter = '0'; // Valid
// @ts-expect-error
const b: DigitCharacter = 0; // Invalid

 Type
```

## Declaration

```ts
type DigitCharacter = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
```
