MCPcopy Create free account
hub / github.com/asmuth/clip / isDigitString

Method isDigitString

src/utils/stringutil.cc:303–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303bool StringUtil::isDigitString(const std::string& str) {
304 return isDigitString(str.data(), str.data() + str.size());
305}
306
307bool StringUtil::isDigitString(const char* begin, const char* end) {
308 for (auto cur = begin; cur < end; ++cur) {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected