os.Path.isLink

Checks if a file is an UNIX™ symbolic link.

Syntax

  1. 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!