love.filesystem.isSymlink

Available since LÖVE 0.9.2
This function is not supported in earlier versions.
Deprecated in LÖVE 11.0
This function is deprecated and is replaced by love.filesystem.getInfo.

Gets whether a filepath is actually a symbolic link.

If symbolic links are not enabled (via love.filesystem.setSymlinksEnabled), this function will always return false.

Function

Synopsis

symlink = love.filesystem.isSymlink( path )

Arguments

string path
The file or directory path to check.

Returns

boolean symlink
True if the path is a symbolic link, false otherwise.

See Also

Other Languages