Skip to content

path.isabsolute

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Determines if a given file system path is absolute.

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

Clone this wiki locally