Gio.UnixMountPoint.prototype.compare

function compare(mount2: Gio.UnixMountPoint): Number(gint) {
    // Gjs wrapper for g_unix_mount_point_compare()
}
  

Compares two unix mount points.

mount2

a #GUnixMount.

Returns

1, 0 or -1 if mount1 is greater than, equal to, or less than mount2, respectively.