summaryrefslogtreecommitdiff
path: root/include/lib/ArduinoJson/Polyfills/ctype.hpp
blob: 2d52703cd84ec1ca77fe2301761b8eedc3d653c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License

#pragma once

namespace ArduinoJson {
namespace Internals {

inline bool isdigit(char c) {
  return '0' <= c && c <= '9';
}

inline bool issign(char c) {
  return '-' == c || c == '+';
}
}
}