isSymlink method

Future<bool> isSymlink()

Returns true if the path exists on disk and is pointing at a symlink. Does not follow links.

Implementation

Future<bool> isSymlink() =>
    isWindows ? WindowsPath(_string).isSymlink() : UnixPath(_string).isSymlink();