---
title: isLeapMonth
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/datecomponents/isleapmonth
---

# isLeapMonth

Set to true if these components represent a leap month.

## Declaration

```swift
var isLeapMonth: Bool? { get set }
```

## See Also

### Accessing Months and Years

- [era](foundation/datecomponents/era.md)
- [year](foundation/datecomponents/year.md)
- [yearForWeekOfYear](foundation/datecomponents/yearforweekofyear.md)
- [quarter](foundation/datecomponents/quarter.md)
- [month](foundation/datecomponents/month.md)
