Determines whether the given character is a punctuation character.

Synopsis

Declared in <absl/strings/ascii.h>

bool
ascii_ispunct(unsigned char c);

Return Value

true if c is a punctuation character, false otherwise.

Parameters

Name

Description

c

The character to test.

Created with MrDocs