Skip to main content

Function: loadTextFile()

loadTextFile(filename): Promise<string>

Load the text file.

Parameters

filename

string

The filename of the text file to load.

Returns

Promise<string>

The contents of the text file if it could not be loaded.