Gtk.PrintSettings.prototype.get_bool

function get_bool(key:String):Boolean {
    // Gjs wrapper for gtk_print_settings_get_bool()
}

Returns the boolean represented by the value that is associated with key.

The string "true" represents true, any other string false.

Since 2.10

key

a key

Returns

true, if key maps to a true value.