isAbsolute method

bool isAbsolute()

Returns true if the Path is absolute, i.e., if it is independent of the current directory.

Implementation

bool isAbsolute() =>
    isWindows ? WindowsPath(_string).isAbsolute() : UnixPath(_string).isAbsolute();