dart / 2 / dart-io / filesystementity / islink.html

isLink method

Future<bool> isLink(
  1. String path
)

Whether path refers to a link.

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

Implementation

static Future<bool> isLink(String path) => _isLinkRaw(_toUtf8Array(path));

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/FileSystemEntity/isLink.html