---
title: isTest
framework: packagedescription
role: symbol
role_heading: Instance Property
path: packagedescription/target/istest
---

# isTest

A Boolean value that indicates whether this is a test target.

## Declaration

```swift
final var isTest: Bool { get }
```

## See Also

### Describing the Target Type

- [type](packagedescription/target/type.md)
- [Target.TargetType](packagedescription/target/targettype.md)
