I have two classes and I want to toggle between them when certain condition is met

```
$(this).toggleClass('one two', condition)

```

when `condition` is met I want to add `two` class, and when it is not met I want to replace it with `one`.

I know I can just use `if else` with `addClass` and `removeClass` but the question is - can I do it with `toggleClass`?