Skip to content

EditorCommandHandler.isMenuCommand method

EditorCommandHandler › isMenuCommand

Whether the command can appear in a context menu: whether the subclass overrides shouldAddToEditorMenu or shouldAddToViewportMenu, which both answer false here.

Signature:

isMenuCommand(): boolean

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