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

# type

The type of the target.

## Declaration

```swift
let type: Target.TargetType
```

## See Also

### Describing the Target Type

- [isTest](swift-package-manager/documentation/packagedescription/target/istest.md)
- [Target.TargetType](swift-package-manager/documentation/packagedescription/target/targettype.md)
