Contents

fileType()

Returns the file type.

Declaration

func fileType() -> String?

Return Value

The value associated with the type file attributes key, or nil if the file attributes dictionary has no entry for the key. For possible values, see FileAttributeType.

See Also

Accessing File Attributes