MCPcopy Create free account
hub / github.com/ElementsProject/elements / json_isdigit

Function json_isdigit

src/univalue/lib/univalue_read.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17static const size_t MAX_JSON_DEPTH = 512;
18
19static bool json_isdigit(int ch)
20{
21 return ((ch >= '0') && (ch <= '9'));
22}
23
24// convert hexadecimal string to unsigned integer
25static const char *hatoui(const char *first, const char *last,

Callers 2

hatouiFunction · 0.85
getJsonTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected