premake/website/docs/path.isresourcefile.md

32 lines
675 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Returns true if the specified path represents a Windows resource file, based on its file extension.
```lua
path.isresourcefile("path")
```
### Parameters ###
`path` is the file system path to be tested.
### Return Value ###
True if the path matches has an **.rc** extension.
### Availability ###
Premake 5.0 or later.
### See Also ###
* [path.getextension](path.getextension.md)
* [path.hasextension](path.hasextension.md)
* [path.iscfile](path.iscfile.md)
* [path.iscppfile](path.iscppfile.md)
* [path.iscppheader](path.iscppheader.md)
* [path.isframework](path.isframework.md)
* [path.islinkable](path.islinkable.md)
* [path.isobjectfile](path.isobjectfile.md)