Skip to content

FileCommandHandler.shouldAddToFileMenu method

FileCommandHandler › shouldAddToFileMenu

Checks whether the command should appear in the single-file context menu.

Signature:

shouldAddToFileMenu(params: FileCommandHandlerShouldAddToFileMenuParams): boolean

Parameters:

ParameterTypeDescription
paramsFileCommandHandlerShouldAddToFileMenuParamsThe parameters for the single-file menu check.

Returns: booleanWhether to add to the file menu.