isScalar property

bool isScalar

Whether or not this Quantity has scalar dimensions, including having no angle or solid angle dimensions.

Use isScalarSI to see if these Dimensions are scalar in the strict International System of Units (SI) sense, which allows non-zero angular and solid angular dimensions.

Implementation

bool get isScalar => dimensions.isScalar;