writeFile

writes/replaces data to a (new) file

Syntax

writeFile(filepath, contents)

Returns

returns (bool) true on success

Parameters

filepath (string)
path to non-existing file
contents (string)
raw data to store