is_quantity

caqtus.types.parameter.is_quantity(
value: Any,
) TypeIs[Quantity]

Returns True if the value is a quantity, False otherwise.