diff --git a/util/json/json_value.cpp b/util/json/json_value.cpp index f418af26..21996f4a 100644 --- a/util/json/json_value.cpp +++ b/util/json/json_value.cpp @@ -1312,14 +1312,14 @@ Value::isString() const bool Value::isArray() const { - return type_ == nullValue || type_ == arrayValue; + return type_ == arrayValue; } bool Value::isObject() const { - return type_ == nullValue || type_ == objectValue; + return type_ == objectValue; }