diff options
Diffstat (limited to 'libft/src/ft_isdigit.c')
-rw-r--r-- | libft/src/ft_isdigit.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libft/src/ft_isdigit.c b/libft/src/ft_isdigit.c index ebe1f40..3c73f92 100644 --- a/libft/src/ft_isdigit.c +++ b/libft/src/ft_isdigit.c @@ -10,10 +10,12 @@ /* */ /* ************************************************************************** */ -int +#include <libft.h> + +t_bool ft_isdigit(int c) { if (c >= 48 && c <= 57) - return (1); - return (0); + return (TRUE); + return (FALSE); } |