Gio.Mount.prototype.can_eject

function can_eject(): Boolean {
    // Gjs wrapper for g_mount_can_eject()
}
  

Checks if mount can be eject.

Returns

true if the mount can be ejected.