Instance Property

isSymbolicLink

A boolean that indicates whether the file wrapper object is a symbolic-link file wrapper.

Declaration

var isSymbolicLink: Bool { get }

Discussion

This property contains true when the file wrapper object is a symbolic-link file wrapper, false otherwise.

Invocations of read(from:options:) may change the value contained by this property, if the type of the file on disk has changed.

See Also

Querying File Wrappers

var isRegularFile: Bool

This property contains a boolean value that indicates whether the file wrapper object is a regular-file.

var isDirectory: Bool

This property contains a boolean value indicating whether the file wrapper is a directory file wrapper.