toBool()

Convert the attribute value to a bool (b encoding).

Synopsis:

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

Description:

Convert the attribute value to a bool (b encoding).

Returns:

A bool containing the attribute's value.