Return whether character is punctuation.
Declared in <bdlb_chartype.h>
static
bool
isPunct(char character);
Return true if the specified character is in the PUNCT category (i.e., any printable character other than SPACE or ALNUM), and false otherwise.
true if character is punctuation, and false otherwise
| Name | Description |
|---|---|
| character | character to classify |