Instance Method

canBeConverted(to:)

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

Declaration

func canBeConverted(to unit: Unit) -> Bool

See Also

Converting to Other Units

func converting(to: Unit) -> Measurement<Unit>

Returns a measurement created by converting the receiver to the specified unit.