Instance Method


Returns a Boolean value indicating whether the unit is null.


- (BOOL)isNull;

Return Value

YES if the unit is null; otherwise, NO.


Null units occur only when you create compound units in which all the units cancel out. For example, if you tried to create a unit by dividing deciliters by liters (dL/L), you would end up with a null unit.

See Also

Working with Units

+ unitFromString:

Returns the unit instance described by the provided string.


A string representation of the unit object.