Gio.Volume.prototype.can_mount

function can_mount(): Boolean {
    // Gjs wrapper for g_volume_can_mount()
}
  

Checks if a volume can be mounted.

Returns

true if the volume can be mounted. false otherwise