(C++) std::islower
January 11, 2018 · View on GitHub
(C++) std::islower
std::islower is an STL function to check if a character is a lowercase alphabetic letter.
#include <cassert> #include <cctype> int main() { assert(std::islower('a')); assert(!std::islower('A')); assert(!std::islower('1')); assert(!std::islower('@')); }