---
title: isEmpty
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgpath/isempty
---

# isEmpty

Indicates whether or not a graphics path is empty.

## Declaration

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

## Discussion

Discussion An empty path contains no elements.

## See Also

### Examining a Graphics Path

- [boundingBox](coregraphics/cgpath/boundingbox.md)
- [boundingBoxOfPath](coregraphics/cgpath/boundingboxofpath.md)
- [currentPoint](coregraphics/cgpath/currentpoint.md)
- [contains(_:using:transform:)](coregraphics/cgpath/contains(_:using:transform:).md)
- [isRect(_:)](coregraphics/cgpath/isrect(_:).md)
