Product Site

5.4.8.16. delete

Deletes the file or directory denoted by the absolute path of the target File object. Only empty directories can be deleted.

Returns .true if the deletion was successful, otherwise returns .false.