Instance Property

unitString

A string representation of the unit object.

Declaration

var unitString: String { get }

Discussion

This property contains a string using the format required by init(from:).

See Also

Working with Units

init(from: String)

Returns the unit instance described by the provided string.

func isNull() -> Bool

Returns a Boolean value indicating whether the unit is null.