---
title: typeDirectory
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/fileattributetype/typedirectory
---

# typeDirectory

A directory.

## Declaration

```swift
static let typeDirectory: FileAttributeType
```

## See Also

### Accessing File Type Attributes

- [typeBlockSpecial](foundation/fileattributetype/typeblockspecial.md)
- [typeCharacterSpecial](foundation/fileattributetype/typecharacterspecial.md)
- [typeRegular](foundation/fileattributetype/typeregular.md)
- [typeSocket](foundation/fileattributetype/typesocket.md)
- [typeSymbolicLink](foundation/fileattributetype/typesymboliclink.md)
- [typeUnknown](foundation/fileattributetype/typeunknown.md)
