/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigit.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: nalebrun +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/10 10:02:18 by nalebrun #+# #+# */ /* Updated: 2024/11/25 16:14:43 by nalebrun ### ########.fr */ /* */ /* ************************************************************************** */ #include "../../libft.h" int ft_isdigit(int c) { if (c >= 48 && c <= 57) return (1); else return (0); }