premake/website/docs/os.isdir.md

26 lines
419 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Checks for the existence of directory.
```lua
os.isdir("path")
```
### Parameters ###
`path` is the file system path to check.
### Return Value ###
**True** if a matching directory is found; **false** is there is no such file system path, or if the path points to a file instead of a directory.
### Availability ###
Premake 4.0 or later.
### See Also ###
* [os.isfile](os.isfile.md)
* [os.stat](os.stat.md)