if anything; if I had to say; rather
Used to express a slight preference or tendency when making a comparison or giving an opinion. Often softens a statement.
If anything, I prefer cats over dogs.
彼はどちらかと言うと、おとなしい性格だ。
He is rather quiet, if I had to say.
どちらかと言うと means 'rather' or 'if anything', implying a slight preference, unlike どちらでもない which expresses no preference at all.
Phrase composed of どちらか (which one, either) + と言うと (speaking of, if one says). Literally 'if one says which one', it developed into a set expression meaning 'if anything' or 'rather'.