Function Quantity.isConsistentWith

Tests wheter this quantity has the same dimensions as another one.

bool isConsistentWith(Q) (
  auto const ref Q qty
) const
if (isQVariantOrQuantity!Q);