cpp/string/byte/isdigit

Checks if the given character is one of the 10 decimal digits:.

The behavior is undefined if the value of is not representable as  and is not equal to.

Return value
Non-zero value if the character is a numeric character, zero otherwise.