MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isStringAlphaNumeric

Function isStringAlphaNumeric

src/Core/Utils/StringUtils.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 bool isStringAlphaNumeric(const std::string& str)
44 {
45 if (!str.empty())
46 return all_of(str.begin(), str.end(), isalnum);
47 return false;
48 }
49
50 bool isStringInt(const std::string& str)
51 {

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected