Gio.Icon.prototype.equal

function equal(icon2: Gio.Icon): Boolean {
    // Gjs wrapper for g_icon_equal()
}
  

Checks if two icons are equal.

icon2

pointer to the second Gio.Icon.

Returns

true if icon1 is equal to icon2. false otherwise.