---
title: isDaylight
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/hourweather/isdaylight
---

# isDaylight

The presence or absence of daylight at the requested location and hour.

## Declaration

```swift
var isDaylight: Bool
```

## See Also

### Getting conditions

- [cloudCover](weatherkit/hourweather/cloudcover.md)
- [condition](weatherkit/hourweather/condition.md)
- [visibility](weatherkit/hourweather/visibility.md)
