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 as a UTF-8 string.