Drive.canEject

Checks if a drive can be ejected.

interface Drive
bool
canEject
()

Return Value

Type: bool

true if the drive can be ejected, false otherwise.