MCPcopy Create free account
hub / github.com/FastLED/FastLED / isDigit

Function isDigit

src/fl/stl/istream.cpp.hpp:14–16  ·  view source on GitHub ↗

Helper function to check if a character is a digit

Source from the content-addressed store, hash-verified

12namespace {
13 // Helper function to check if a character is a digit
14 inline bool isDigit(char c) {
15 return c >= '0' && c <= '9';
16 }
17
18 // Helper function to check if a character is whitespace
19 inline bool isSpace(char c) {

Callers 2

parse_i32Function · 0.85
parse_u32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected