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

# hertz()

Returns a HealthKit unit for measuring frequency in hertz.

## Declaration

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

## Discussion

Discussion Hertz represent cycles per second.

## See Also

### Constructing frequency units

- [hertzUnit(with:)](healthkit/hkunit/hertzunit(with:).md)
