Skip to content

write ​

write(content, path: String) ​

ParameterTypeDescription
content*Text that should be written to the file
pathStringA file path

Writes the provided text to a file, overwriting any previous content.

Returns ​

(nil)