Files
libft/ft_isdigit.c

9 lines
102 B
C

#include "libft.h"
int ft_isdigit(int c)
{
if ((c >= '0' && c <= '9'))
return (1);
return (0);
}