cub3d/libft/src/ft_string/ft_chr/ft_isdigit.c
2024-11-08 19:37:30 +01:00

16 lines
950 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/06 11:27:37 by bgoulard #+# #+# */
/* Updated: 2023/11/10 14:56:59 by bgoulard ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
return (c >= '0' && c <= '9');
}