/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_isdigit.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mdenys +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/10/29 14:29:08 by mdenys #+# #+# */ /* Updated: 2020/10/30 11:52:05 by mdenys ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isdigit(int ch) { if (ch >= '0' && ch <= '9') return (1); return (0); }