File.isAbsolute
$path.isAbsolute() -> boolean
Description
Return true
if the file or directory path is absolute (not relative).
$someFile = file'files:/some/file.txt' $someFile.isAbsolute() //= false $someDir = dir'/full/path/to/dir' $someDir.isAbsolute() //= true