Instance Property

isDirectory

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

Declaration

var isDirectory: Bool { get }

Discussion

This property will contain YES when the file wrapper is a directory file wrapper, otherwise it contains NO.

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 isSymbolicLink: Bool

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