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

Method isAlphanumeric

src/utils/stringutil.cc:262–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262bool StringUtil::isAlphanumeric(const std::string& str) {
263 for (const auto& c : str) {
264 if (!isAlphanumeric(c)) {
265 return false;
266 }
267 }
268
269 return true;
270}
271
272bool StringUtil::isAlphanumeric(char chr) {
273 bool is_alphanum =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected