mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
isNull()
This commit is contained in:
@@ -165,6 +165,8 @@ class VariantData {
|
||||
}
|
||||
|
||||
bool isNull() const {
|
||||
if (isPointer())
|
||||
return _content.asPointer->isNull();
|
||||
return type() == VALUE_IS_NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user