---
title: isEmpty
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcompositiontracksegment/isempty
---

# isEmpty

A Boolean value that indicates whether the segment is empty.

## Declaration

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

## Discussion

Discussion An empty segment has a valid target time range, but its sourceURL value is nil and the source start time is invalid. It doesn’t set values for its other properties.

## See Also

### Accessing segment properties

- [sourceURL](avfoundation/avcompositiontracksegment/sourceurl.md)
- [sourceTrackID](avfoundation/avcompositiontracksegment/sourcetrackid.md)
