MCPcopy Create free account
hub / github.com/apngasm/apngasm / isNumber

Function isNumber

cli/src/cli.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10const char separator = std::filesystem::path::preferred_separator;
11
12bool isNumber(const std::string s) {
13 std::string::const_iterator it = s.begin();
14 while (it != s.end() && std::isdigit(*it))
15 ++it;
16 return !s.empty() && it == s.end();
17}
18
19class FrameDelay {
20public:

Callers 1

FrameDelayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected