MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / isInteger

Method isInteger

src/helper.cpp:414–416  ·  view source on GitHub ↗

* Checks if string is a number - a little bit buggy ... TODO */

Source from the content-addressed store, hash-verified

412 * Checks if string is a number - a little bit buggy ... TODO
413 */
414bool Helper::isInteger(const std::string& s) {
415 return std::all_of(s.begin(), s.end(), ::isdigit);
416}
417
418
419/*

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected