libft_old/extended_libft/ft_isdigit.c
Willem Haffmans 326f52308e all
2024-07-26 22:32:04 +02:00

19 lines
970 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/05 18:42:04 by whaffman #+# #+# */
/* Updated: 2024/07/09 17:12:14 by whaffman ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isdigit(int c)
{
return ('0' <= c && '9' >= c);
}