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

# isDaylight

A Boolean value indicating whether there is daylight.

## Declaration

```swift
var isDaylight: Bool
```

## See Also

### Getting daylight and visibility

- [uvIndex](weatherkit/currentweather/uvindex.md)
- [visibility](weatherkit/currentweather/visibility.md)
