units_convertible#
- compliance_checker.cfutil.units_convertible(units1, units2, reftimeistime=True)[source]#
Return True if a Unit representing the string units1 can be converted to a Unit representing the string units2, else False.
- Parameters:
units1 (str) – A string representing the units
units2 (str) – A string representing the units