MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / isNumeric

Function isNumeric

Libraries/QRCode/src/qrcode.c:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132static bool isNumeric(const char *text, uint16_t length) {
133 while (length != 0) {
134 char c = text[--length];
135 if (c < '0' || c > '9') { return false; }
136 }
137 return true;
138}
139
140
141

Callers 2

encodeDataCodewordsFunction · 0.85
makeSegmentsMethod · 0.85

Calls

no outgoing calls

Tested by 1

makeSegmentsMethod · 0.68