Luna::Variant::boolean
bool boolean(bool default_value=false) const
Gets the data of one Boolean variant.
Parameters
-
in default_value
The optional default Boolean value to return.
Return value
Returns the data of one Boolean variant. Returns default_value
if the variant is not a Boolean variant.