JsonVariantConst is an immutable version of JsonVariant; only use it if you want to enforce immutability.


JsonVariantConst::isNull() tells whether the variant points to a value or not.


bool isNull() const;

Return value

JsonVariantConst::isNull() returns a bool that tells if the JsonVariantConst points to something or not:

See also