Skip to main content

shared io:save

string io:save(path, data)

Saves a file on the data folder, make sure you pass the extension on the filePath


Parameters​

TypeNameDescriptionOptional
stringpathNo description
stringdataNo description

Returns​

TypeDescription
stringerror