/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigit.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/11/25 12:39:16 by bchanot #+# #+# */ /* Updated: 2017/04/15 00:33:56 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isdigit(int c) { if (c >= 48 && c <= 57) return (true); return (false); }