Home Contents | # ctype.ispunct | Ctype | Core4 Lua Commands

## SYNOPSIS

result = ctype.ispunct(code)

## DESCRIPTION

The ctype.ispunct function tests for any printing character except space (‘ ’) or a character for which ctype.isalnum is true.

## RETURN VALUE

The function returns a boolean indicating if the character test succeeded.

## SEE ALSO

ctype.isalnum, ctype.isalpha, ctype.isascii, ctype.isblank, ctype.iscntrl, ctype.isdigit, ctype.isgraph, ctype.islower, ctype.isprint, ctype.isspace, ctype.isupper, ctype.isxdigit