mirror of
https://github.com/gbdk-2020/gbdk-2020.git
synced 2026-03-08 00:07:25 +01:00
8 lines
216 B
C
8 lines
216 B
C
#include <ctype.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
bool isalpha(char c) {
|
|
return ((((uint8_t)((uint8_t)c - 'a') < ('z' - 'a' + 1))) || ((uint8_t)((uint8_t)c - 'A') < ('Z' - 'A' + 1))) ? true : false;
|
|
}
|