mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 08:48:27 +01:00
Renamed undocumented function isUndefined() to isUnbound()
This commit is contained in:
@@ -17,7 +17,7 @@ CompareResult compare(const T1 &lhs, const T2 &rhs); // VariantCompare.cpp
|
||||
|
||||
template <typename TVariant>
|
||||
struct VariantOperators {
|
||||
// Returns the default value if the VariantRef is undefined or incompatible
|
||||
// Returns the default value if the VariantRef is unbound or incompatible
|
||||
//
|
||||
// int operator|(JsonVariant, int)
|
||||
// float operator|(JsonVariant, float)
|
||||
|
||||
@@ -32,7 +32,7 @@ class VariantRefBase : public VariantTag {
|
||||
return variantIsNull(_data);
|
||||
}
|
||||
|
||||
FORCE_INLINE bool isUndefined() const {
|
||||
FORCE_INLINE bool isUnbound() const {
|
||||
return !_data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user