Skip to content

FileCommandHandler.canExecuteFiles method

FileCommandHandler › canExecuteFiles

Checks whether the command can execute for multiple files. Default implementation checks each file individually.

Signature:

canExecuteFiles(files: TFile[]): boolean

Parameters:

ParameterTypeDescription
filesTFile[]The files.

Returns: booleanWhether the command can execute.