GLib.Variant.prototype.get_boolean
function get_boolean(): Boolean { // Gjs wrapper for g_variant_get_boolean() }
Returns the boolean value of value.
It is an error to call this function with a value of any type other than %G_VARIANT_TYPE_BOOLEAN.
Since 2.24
- Returns
true or false