hasUnits property

bool get hasUnits

Whether this has any units.

If a function expects a number to have no units, it should use assertNoUnits. If it expects the number to have a particular unit, it should use assertUnit.

Implementation

bool get hasUnits;