| 39 | } |
| 40 | |
| 41 | static bool validNumStr(const string& s) |
| 42 | { |
| 43 | string tokenVal; |
| 44 | unsigned int consumed; |
| 45 | enum jtokentype tt = getJsonToken(tokenVal, consumed, s.c_str()); |
| 46 | return (tt == JTOK_NUMBER); |
| 47 | } |
| 48 | |
| 49 | bool UniValue::setNumStr(const string& val_) |
| 50 | { |
no test coverage detected