is_in_base_units

caqtus.types.units.base.is_in_base_units(
units: Unit,
) TypeIs[BaseUnit]

Check if the units is only expressed in terms of base SI units.

For example, kg, m/s are expressed in terms of base units, but mg, km/h or dB are not.

Parameters:

units – The units to check.

Returns:

True if the units are expressed in the base units of the registry.