MCPcopy Create free account
hub / github.com/docling-project/docling-parse / is_integer

Function is_integer

src/parse/utils/string.h:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 bool is_integer(const std::string & s)
64 {
65 return std::regex_match(s, std::regex("(-)?[0-9]+"));
66 }
67
68 bool is_number(const std::string & s)
69 {

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected