$fn.deleteFile(path)
Deletes files in the specified path. "asynchronous"
Arguments
Name | Type | Description |
---|---|---|
path | string | Path of the file to be deleted |
Return value
None
Sample
try { await $fn.deleteFile('/note.txt'); } catch (err) { console.log("Error", err); }