linkExists function

bool linkExists(
  1. String link
)

Returns whether link exists on the file system.

This returns true for any symlink, regardless of what it points at or whether it's broken.

Implementation

bool linkExists(String link) => Link(link).existsSync();