Hello everyone,

This is a follow up question from this topic.

Now instead of just the unit I would like to have different quantities. Let me explain.

I want to dispatch on units of 1/s and rad/s.

Now I do the following:

```
my_units(quantity :: typeof(1.0u"1/s")) = "only works for real value of Hz"
my_units(quantity :: typeof(1.0u"rad/s")) = "only works for real value of radHz"
```

This works only for real values.

My question is how can I make this work for any type, like ints or rational.

I know I can do the following:

```
my_units(quantity :: Unitful.Frequency) = "works for real and integer values of Hz"
```

The problem is that if I give radHz, I will get the same result. How can define a method that dispatches on radHz for any type of the value?

Thanks in advance,

Olivier