pushswap/printf/libft/src/ft_isalpha.c
2023-03-07 05:42:47 +01:00

21 lines
1019 B
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isalpha.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/01 19:10:41 by djonker #+# #+# */
/* Updated: 2023/02/07 00:39:55 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_isalpha(int c)
{
if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z'))
return (0);
return (1);
}