isLinkSync method

bool isLinkSync(
  1. String path
)

Synchronously checks if type(path) returns io.FileSystemEntityType.LINK.

Implementation

bool isLinkSync(String path) =>
    typeSync(path, followLinks: false) == io.FileSystemEntityType.link;