/* ************************************************************************** */ /* */ /* :::::::: */ /* ft_isdigit_str.c :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/02/20 15:40:24 by whaffman #+# #+# */ /* Updated: 2025/02/26 16:19:31 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_isdigit_str(char *str) { while (*str) { if (!ft_isdigit(*str)) return (FALSE); str++; } return (TRUE); }