winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.isfile.md

26 lines
408 B
Markdown
Raw Permalink Normal View History

2024-09-24 08:54:57 -04:00
Checks for the existence of file.
```lua
os.isfile("path")
```
### Parameters ###
`path` is the file system path to check.
### Return Value ###
**True** if a matching file is found; **false** is there is no such file system path, or if the path points to a directory instead of a file.
### Availability ###
Premake 4.0 or later.
### See Also ###
* [os.isdir](os.isdir.md)
* [os.stat](os.stat.md)