MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / trim

Method trim

KittyMemoryEx/KittyUtils.cpp:212–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 void String::trim(std::string &str)
213 {
214 str.erase(std::remove_if(str.begin(), str.end(), ::isspace), str.end());
215 }
216
217 bool String::isValidHex(const std::string &hex)
218 {

Callers

nothing calls this directly

Calls 1

endMethod · 0.80

Tested by

no test coverage detected