iswdigit method

bool iswdigit(
  1. int wc
)

Checks if the wide character is a decimal digit.

Implementation

bool iswdigit(int wc) {
  return wc >= 48 && wc <= 57;
}