# fdel proc

Source: https://ref.dm-lang.org/proc/fdel

### Format
> `fdel(File)`

### Args
> File: name of file to delete

### Returns
> 1 on success; 0 otherwise.

If the specified file ends in '`/`', it is treated as a directory. Any contents (including sub-directories) are deleted as well.

Be careful!

### See also
> [shell proc](https://ref.dm-lang.org/proc/shell.md)
