diff options
Diffstat (limited to 'ft_isalpha.c')
| -rw-r--r-- | ft_isalpha.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ft_isalpha.c b/ft_isalpha.c new file mode 100644 index 0000000..c19cf58 --- /dev/null +++ b/ft_isalpha.c @@ -0,0 +1,7 @@ +#include "libft.h" + +int +ft_isalpha (int c) +{ + return ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z')); +} |
