CommandSwitchesController.isCommandShownInMenus method
CommandSwitchesController › isCommandShownInMenus
Whether the user's switches let a command into the context menus.Signature:
isCommandShownInMenus(commandId: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| commandId | string | The command id, without the plugin-id prefix. |
Returns: boolean — Whether the context menus may offer the command.