isValid()

Check if the Variant is valid.

Synopsis:

#include <qpps/variant.h>
 
bool isValid() const;

Description:

Check if the Variant is valid.

Returns:

Returns true if the Variant is valid, false otherwise. For this release, only the default constructor can create an invalid variant.