3 lines
108 B
C++
3 lines
108 B
C++
bool isNumeric(const std::string& input) {
|
|
return std::all_of(input.begin(), input.end(), ::isdigit);
|
|
}
|