---
title: isPathEmpty
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgcontext/ispathempty
---

# isPathEmpty

Indicates whether the current path contains any subpaths.

## Declaration

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

## See Also

### Examining the Current Graphics Path

- [boundingBoxOfPath](coregraphics/cgcontext/boundingboxofpath.md)
- [currentPointOfPath](coregraphics/cgcontext/currentpointofpath.md)
- [pathContains(_:mode:)](coregraphics/cgcontext/pathcontains(_:mode:).md)
