Skip to content

FilePropertiesView.readSupportedFile method

FilePropertiesView › readSupportedFile

Unofficial

Reads the file if it is supported.

Signature:

readSupportedFile(file: TFile): Promise<unknown>

Parameters:

Parameter Type Description
file TFile The file to read.

Returns: Promise<unknown>A promise that resolves with the file contents.