isLinkSync static method
Synchronously checks whether path
refers to a link.
Checks whether typeSync(path, followLinks: false)
returns
FileSystemEntityType.link.
Implementation
static bool isLinkSync(String path) => typeSync(path) == FileSystemEntityType.link;