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

# humidity

The amount of water vapor in the air.

## Declaration

```swift
var humidity: Double
```

## Discussion

Discussion Relative humidity measures the amount of water vapor in the air, compared to the maximum amount that the air can hold at the current temperature. The range of this property is from 0 to 1, inclusive.

## See Also

### Getting temperature and humidity

- [apparentTemperature](weatherkit/currentweather/apparenttemperature.md)
- [dewPoint](weatherkit/currentweather/dewpoint.md)
- [temperature](weatherkit/currentweather/temperature.md)
