JsonArrayConst::isNull()
Description
JsonArrayConst::isNull() tells whether the JsonArrayConst points to an array or not.
You can use this function to:
- check if the array was successfully parsed, or
- check if the array was successfully allocated.
As an alternative, you can use the conversion to bool; for example, if(array) instead of if(!array.isNull())
Signature
bool isNull() const;
Return value
JsonArrayConst::isNull() returns a bool that tells if the JsonArrayConst points to something:
trueif theJsonArrayConstis null,falseif theJsonArrayConstis valid and points to an array.