> 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/ispunct.md).

# IsPunct

\<evalcmd> IsPunct && bool && **True** if *string* consists only of punctuation characters. && string && string && String to test. \</evalcmd>

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

//<Example://>

```
Output(IsPunct("!.,;:"))
--> true

Output(IsPunct("!.,j:"))
--> false
```

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