Skip to content

FileCommandHandler.isMenuCommand method

FileCommandHandler › isMenuCommand

Whether the command can appear in a context menu: whether the subclass overrides shouldAddToFileMenu or shouldAddToFilesMenu, or one of the abstract-file menu hooks this class implements.

Signature:

isMenuCommand(): boolean

Returns: boolean — Whether the command is a context-menu command.