Share this page

# IO.delete

Deletes the specified folder or file.

If a folder is specified, deletes all the files in the folder, including sub-directories.

    IO.delete(filepath);

## Arguments

path. (string) The absolute path of the folder or file.

## Return value

A promise that will be fulfilled with no arguments.

## Example

Copy code

    (async ()=>{
        await IO.delete("file_path");
    })();

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: