MCPcopy Create free account
hub / github.com/LUX-Core/lux / validNumStr

Function validNumStr

src/univalue/univalue.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41static 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
49bool UniValue::setNumStr(const string& val_)
50{

Callers 1

setNumStrMethod · 0.85

Calls 1

getJsonTokenFunction · 0.85

Tested by

no test coverage detected