Gio.Drive.prototype.can_stop

function can_stop(): Boolean {
    // Gjs wrapper for g_drive_can_stop()
}
  

Checks if a drive can be stopped.

Since 2.22

Returns

true if the drive can be stopped, false otherwise.