Function checkList(const std::string&)
Defined in File checkFun.cpp
Function Documentation
-
bool checkList(const std::string &input)
Checks if a given string is in the format of a list of floating-point numbers.
- Parameters:
input – A string representing a list of floats in any format in (a,b), [a,b], a,b with or without spaces, with or without commas.
- Returns:
Returns true if the string is a valid list of floats, false otherwise.