> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/guan-fang-shou-ce/readme.zh-10/readme.zh-4/isfile.md).

# IsFile

\<evalcmd> IsFile && bool && **True** if the specified path exists as a file, otherwise **false**. && path && path && Path to test. \</evalcmd>

Tests if the specified path exists as a file.

//<Example://>

```
if (IsFile("c:\\windows\\system32\\notepad.exe")) { ... }
```
