21 lines
993 B
C
21 lines
993 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* ft_isdigit.c :+: :+: */
|
|
/* +:+ */
|
|
/* By: djonker <marvin@codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2020/11/01 19:10:41 by djonker #+# #+# */
|
|
/* Updated: 2023/10/18 16:59:19 by houtworm ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../libft.h"
|
|
|
|
int ft_isdigit(int c)
|
|
{
|
|
if (c < '0' || c > '9')
|
|
return (0);
|
|
return (1);
|
|
}
|