siBaseQuantity function

bool siBaseQuantity(
  1. Quantity q
)

Returns whether or not q is one of the seven SI base quantities.

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;