Path.isSymlink

bool isSymlink() const @safe

Checks if the path is a symbolic link.

Returns

true if the path is a symlink, false otherwise.