hammerspoon2-docs
    Preparing search index...

    Function ejectVolume

    • Unmount and eject the volume at the given path.

      Parameters

      • path: string

        The mount path of the volume to eject. ~ is expanded.

      Returns boolean

      true if the volume was ejected successfully, false otherwise.