---
title: type
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packageplugin/file/type
---

# type

The File type, as determined by Swift package manager.

## Declaration

```swift
let type: FileType
```

## See Also

### Inspecting the File

- [url](swift-package-manager/documentation/packageplugin/file/url.md)
- [path](swift-package-manager/documentation/packageplugin/file/path.md)
