isLinkSync method

bool isLinkSync (String path)

Synchronously checks if typeSync(path, followLinks: false) returns FileSystemEntityType.LINK.

Implementation

static bool isLinkSync(String path) =>
    (_getTypeSync(path, false) == FileSystemEntityType.LINK);