Contents

isRegularFile

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

Declaration

var isRegularFile: Bool { get }

Discussion

This property contains true when the file wrapper object is a regular-file wrapper, otherwise it contains false. Invocations of read(from:options:) may change the value of this property if the type of the file on disk has changed.

See Also

Querying File Wrappers