MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / is_identifier_numeric

Function is_identifier_numeric

src/StubExecutable/Semver200_parser.cpp:101–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 inline bool is_identifier_numeric(const string& id) {
102 return id.find_first_not_of("0123456789") == string::npos;
103 }
104
105 inline bool check_for_leading_0(const string& str) {
106 return str.length() > 1 && str[0] == '0';

Callers 1

prerelease_hook_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected