mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Add is_number()
This will be used to check if a string is a valid integer. So negative numbers are accepted, unlike is_positive_num().
This commit is contained in:
@@ -11,6 +11,8 @@ std::vector<std::string> split(const std::string &s, char delim, std::vector<std
|
||||
|
||||
std::vector<std::string> split(const std::string &s, char delim);
|
||||
|
||||
bool is_number(const char* str);
|
||||
|
||||
bool is_positive_num(const std::string& str, bool hex);
|
||||
|
||||
bool endsWith(const std::string& str, const std::string& suffix);
|
||||
|
||||
Reference in New Issue
Block a user