Version: v0.8.1 - Beta.  We welcome contributors & feedback.

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

See Also