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