mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			353 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			353 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // ArduinoJson - arduinojson.org
 | |
| // Copyright Benoit Blanchon 2014-2019
 | |
| // MIT License
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "../Polyfills/ctype.hpp"
 | |
| 
 | |
| namespace ARDUINOJSON_NAMESPACE {
 | |
| 
 | |
| inline bool isInteger(const char* s) {
 | |
|   if (!s || !*s) return false;
 | |
|   if (issign(*s)) s++;
 | |
|   while (isdigit(*s)) s++;
 | |
|   return *s == '\0';
 | |
| }
 | |
| }  // namespace ARDUINOJSON_NAMESPACE
 |