# isfile proc

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

### Format
> `isfile(File)`

### Args
> File: the value to test

This returns a true value when given a file. Both objects returned by file() and files stored in the resource cache qualify.

### See also
- [cache](https://ref.dm-lang.org/DM/cache.md)
- [file proc](https://ref.dm-lang.org/proc/file.md)
- [isicon proc](https://ref.dm-lang.org/proc/isicon.md)
