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