]> git.corax.cc Git - toolbox/commit
include/is: Rename is_digit() to is_digits()
authorMatthias Kruk <m@m10k.eu>
Tue, 20 Apr 2021 13:05:37 +0000 (22:05 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 20 Apr 2021 13:05:37 +0000 (22:05 +0900)
commitc4e3cdf090344e2d81a339db05f70de3fd010546
tree20506ba267f30e2b9613a65d4e7914329140b5e9
parentff9c01d9daf70732400f90e92521e7c84a840978
include/is: Rename is_digit() to is_digits()

The name of the is_digit() function was originally taken from the
Standard C library function of the same name. However, that function
checks only a single character, while this function compares all
characters in a string. To avoid confusion, this commit renames the
function to is_digits().
include/is.sh