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

Method isNumber

src/utils/stringutil.cc:317–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317bool StringUtil::isNumber(const std::string& str) {
318 return isNumber(str.data(), str.data() + str.size());
319}
320
321bool StringUtil::isNumber(const char* begin, const char* end) {
322 auto cur = begin;

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected