Instance Property

hasSubmenu

A Boolean value that indicates whether the menu item has a submenu.

Declaration

var hasSubmenu: Bool { get }

See Also

Managing Submenus

var submenu: NSMenu?

The submenu of the menu item.

var parent: NSMenuItem?

The menu item whose submenu contains the receiver.