---
title: "canBeConverted(to:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsmeasurement/canbeconverted(to:)"
---

# canBeConverted(to:)

Indicates whether the measurement can be converted to the given unit.

## Declaration

```swift
func canBeConverted(to unit: Unit) -> Bool
```

## See Also

### Converting to Other Units

- [converting(to:)](foundation/nsmeasurement/converting(to:).md)
