We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed6c6d7 commit 526315aCopy full SHA for 526315a
src/ctype.c
@@ -1,3 +1,8 @@
1
+/**
2
+ * Function to check if the passed char contains a number
3
+ * @param a char
4
+ * @return 1 if is a number, 0 if not
5
+ */
6
int isdigit(int c) {
7
return c >= '0' && c <= '9';
8
}
0 commit comments