src/Filesystem/Directory.php
public static function isLink(string $dir = ''): bool
    {
        $dir = static::normalizePath($dir);
        return static::exists($dir) && \is_link($dir);
    }
public static function isLink(string $dir = ''): bool
    {
        $dir = static::normalizePath($dir);
        return static::exists($dir) && \is_link($dir);
    }
public static function isLink ( string $ dir = '' ) : bool { $ dir = static :: normalizePath ( $ dir ) ; return static :: exists ( $ dir ) && \ is_link ( $ dir ) ; }
Checks whether directory is a link

@param string $dir
@return bool
Checks whether directory is a link