isLink
isLink(S_name[tl_path] ) =>t/nil
Description
Checks if a path exists and if it is a symbolic link.
When S_name is a relative path, the current SKILL path is used if it’s non-nil. A path that is anchored to the current directory, for example, ./, ../, or ../../.., and so on, is not considered as a relative path.
Arguments
Value Returned
|
The name exists and is not a symbolic name or if S_name does not exist at all. |
Examples
isLink("/usr/bin")
=> nil
isLink("/usr/spool")
=> t ;Assuming it's a link to /var/spool
Related Topics
Return to top