Skip to content

FolderCommandHandler.isMenuCommand method

FolderCommandHandler › isMenuCommand

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

Signature:

isMenuCommand(): boolean

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