CommandHandler.isMenuCommand method
CommandHandler › isMenuCommand
Whether the command can appear in a context menu, and so gets a show/hide row among the command switches.false here; the editor and file handlers answer whether a subclass overrides one of their menu hooks, because a handler that overrides none never adds a menu item.Signature:
isMenuCommand(): booleanReturns: boolean — Whether the command is a context-menu command.