---
title: kelvin()
framework: healthkit
role: symbol
role_heading: Type Method
path: healthkit/hkunit/kelvin()
---

# kelvin()

Returns a HealthKit unit for measuring temperature in kelvins.

## Declaration

```swift
class func kelvin() -> Self
```

## Return Value

Return Value A HealthKit unit for measuring temperature in kelvins.

## See Also

### Constructing temperature units

- [degreeCelsius()](healthkit/hkunit/degreecelsius().md)
- [degreeFahrenheit()](healthkit/hkunit/degreefahrenheit().md)
