Determines if the file exists.
trueif the file system item at the path exists and it is a file.
falseif there is no the file system item at the path.
Errorif the file system item at the path exists but is is of different type e.g. a directory.
Errorincluding the path and the method name if some other file system error happended.
Reads file text using UTF-8 encoding if the file exists.
null if the file does not exist.
If the file already exists, then it is overwritten. Also creates directories on the file path if they do not exist.
Generated using TypeDoc