This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/path.isabsolute.md

23 lines
522 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Determines if a given file system path is absolute.
```lua
path.isabsolute("path")
```
### Parameters ###
`path` is the file system path to check.
### Return Value ###
True if the file system path is absolute, false otherwise. The tests include checking for a leading forward or backward slash, a dollar sign (indicating a environment variable), or a DOS drive letter.
### Availability ###
Premake 5.0 or later.
### See Also ###
* [path.getabsolute](path.getabsolute.md)
* [path.getrelative](path.getrelative.md)