impure functionwriteFile

Writes data to a file.

Information

Returns true on success. If append = true the data is appended to the file, otherwise the file is overwritten with the new content.

Inputs

TypeNameDefaultDescription
StringfileName
Stringdata
Booleanappendfalse

Outputs

TypeNameDefaultDescription
Booleansuccess