MCPcopy Create free account
hub / github.com/HorizonMW/HorizonMW-Client / is_numeric

Function is_numeric

src/common/utils/string.cpp:208–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 bool is_numeric(const std::string& text)
209 {
210 return std::to_string(atoi(text.data())) == text;
211 }
212
213 bool find_lower(const std::string& a, const std::string& b)
214 {

Callers 12

parseFunction · 0.85
parse_mapentsFunction · 0.85
checkInt32Method · 0.85
checkUint32Method · 0.85
checkInt64Method · 0.85
checkUint64Method · 0.85
checkFloatMethod · 0.85
checkDoubleMethod · 0.85
parseTimestampMethod · 0.85
offsetSetMethod · 0.85
offsetUnsetMethod · 0.85

Calls 2

to_stringFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected