libft/ft_isalpha.c
Etienne Rey-bethbeder 191a193cb2 origin
2022-10-11 22:51:06 +02:00

20 lines
1,007 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/17 17:34:33 by erey-bet #+# #+# */
/* Updated: 2022/09/26 14:40:50 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isalpha(int c)
{
if (!(c >= 'A' && c <= 'Z'))
if (!(c >= 'a' && c <= 'z'))
return (0);
return (1);
}