path.isabsolute

The path.isabsolute function returns true if the specified path is an absolute path.

path.isabsolute("path")

Parameters

path is the file system path to check.

Return Value

True if the specified path is absolute, false otherwise.