Gtk.PaperSize.prototype.is_equal

function is_equal(size2:Gtk.PaperSize):Boolean {
    // Gjs wrapper for gtk_paper_size_is_equal()
}

Compares two Gtk.PaperSize objects.

Since 2.10

size2

another Gtk.PaperSize object

Returns

true, if size1 and size2 represent the same paper size