MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / isDigit

Method isDigit

include/thundersvm/util/log.h:1124–1126  ·  view source on GitHub ↗

@brief Checks if character is digit. Dont use libc implementation of it to prevent locale issues.

Source from the content-addressed store, hash-verified

1122 public:
1123 /// @brief Checks if character is digit. Dont use libc implementation of it to prevent locale issues.
1124 static inline bool isDigit(char c) {
1125 return c >= '0' && c <= '9';
1126 }
1127
1128 /// @brief Matches wildcards, '*' and '?' only supported.
1129 static bool wildCardMatch(const char* str, const char* pattern);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected