The Standard LibraryfsMethodsdeleteOn this pagedeleteDelete a file/directory. delete("path/to/anything"); Syntax delete(path) Returns A boolean indicating whether something was removed or not.