> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/isdigit.md).

# IsDigit

\<evalcmd> IsDigit && bool && **True** if *string* consists only of digits. && string && string && String to test. \</evalcmd>

Returns **True** if *string* consists entirely of digit characters, otherwise returns **False**.

//<Example://>

```
Output(IsDigit("12345"))
--> true

Output(IsDigit("123a5"))
--> false
```

*See also:*\
[isalpha](/directory-opus/manual/reference/evaluator/isalpha.md)\
[islower](/directory-opus/manual/reference/evaluator/islower.md)\
[ispunct](/directory-opus/manual/reference/evaluator/ispunct.md)\
[isspace](/directory-opus/manual/reference/evaluator/isspace.md)\
[isupper](/directory-opus/manual/reference/evaluator/isupper.md)
