isLinkSync method Null safety

bool isLinkSync(
  1. String path
)

Synchronously checks whether path refers to a link.

Checks whether typeSync(path, followLinks: false) returns FileSystemEntityType.link.

Implementation

static bool isLinkSync(String path) => _isLinkRawSync(_toUtf8Array(path));