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