function
islink
islink(path: String) -> Bool
Return True if path refers to an existing directory entry that is a symbolic link.
Args:
- path (
String
): The path to the directory.
Returns:
True if the path is a link to a directory and False otherwise.
islink[pathlike: PathLike](path: pathlike) -> Bool
Return True if path refers to an existing directory entry that is a symbolic link.
Parameters:
- pathlike (
PathLike
): The a type conforming to the os.PathLike trait.
Args:
- path (
pathlike
): The path to the directory.
Returns:
True if the path is a link to a directory and False otherwise.