mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-08 22:28:28 +02:00
helpers: add isDigitWord() function
returns true if all chars of string parameter are digits
Origin commit data
------------------
Branch: ni/coolstream
Commit: 205bbeb7ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-28 (Thu, 28 Mar 2019)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -186,5 +186,7 @@ std::string decodeUrl(std::string url);
|
||||
bool getUrl(std::string &url, std::string &answer, const std::string userAgent = " ", unsigned int timeout = 60);
|
||||
bool downloadUrl(std::string url, std::string file, const std::string userAgent = " ", unsigned int timeout = 60);
|
||||
|
||||
bool isDigitWord(std::string str);
|
||||
|
||||
//
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user