# fexists proc

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

### Format
> `fexists(File)`

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

### Returns
> 1 if file exists; 0 otherwise.

### See also
- [flist proc](https://ref.dm-lang.org/proc/flist.md)
- [ftime proc](https://ref.dm-lang.org/proc/ftime.md)
- [length proc](https://ref.dm-lang.org/proc/length.md)
