---
title: isCancelled
framework: dispatch
role: symbol
role_heading: Instance Property
path: dispatch/dispatchworkitem/iscancelled
---

# isCancelled

A Boolean value indicating whether the work item has been canceled.

## Declaration

```swift
var isCancelled: Bool { get }
```

## Discussion

Discussion The value of this property is true if the work item has been canceled.

## See Also

### Canceling a Work Item

- [cancel()](dispatch/dispatchworkitem/cancel().md)
