feat: return directly the statement

This commit is contained in:
2025-09-28 21:48:52 +02:00
parent bbd0e4a3a1
commit ea3a893cc8
2 changed files with 3 additions and 6 deletions

View File

@@ -2,7 +2,5 @@
int ft_isdigit(int c)
{
if ((c >= '0' && c <= '9'))
return (1);
return (0);
return ((c >= '0' && c <= '9'));
}