Skip to content

FileCommandHandler.canExecuteFile method

FileCommandHandler › canExecuteFile

Checks whether the command can execute for a single file.

Signature:

canExecuteFile(_file: TFile): boolean

Parameters:

ParameterTypeDescription
_fileTFileThe file.

Returns: boolean — Whether the command can execute.