os.Path.isLink
Checks if a file is UNIX™ symbolic link.
Syntax
os.Path.isLink(
path STRING)
RETURNS BOOLEAN
- path is the file or directory path.
Usage
The function returns TRUE
if the files is a symbolic link,
FALSE
otherwise.
This method can only be used on UNIX!