Gtk.FileChooser.prototype.get_do_overwrite_confirmation

function get_do_overwrite_confirmation():Boolean {
    // Gjs wrapper for gtk_file_chooser_get_do_overwrite_confirmation()
}

Queries whether a file chooser is set to confirm for overwriting when the user types a file name that already exists.

Since 2.8

Returns

true if the file chooser will present a confirmation dialog; false otherwise.