siBaseQuantity function
Returns whether or not q
is one of the seven SI base quantities.
- If a quantity is not one of the seven base SI quantities, then it is a derived quantity.
- The seven base SI Quantities are Length, Mass, Duration, Temperature, Current, LuminousIntensity and AmountOfSubstance.
Implementation
bool siBaseQuantity(Quantity q) =>
q is Length ||
q is Mass ||
q is Time ||
q is Current ||
q is TemperatureInterval ||
q is Temperature ||
q is AmountOfSubstance ||
q is LuminousIntensity;