Gio.Drive.prototype.is_media_removable

function is_media_removable(): Boolean {
    // Gjs wrapper for g_drive_is_media_removable()
}
  

Checks if the drive supports removable media.

Returns

true if drive supports removable media, false otherwise.