Let's $f: \mathbb{C} \rightarrow \mathbb{C}$ be a holomorphic function such that values $f$ are on line $y=ax+b$. Show that $f$ is constant.
I think I should use Cauchy-Riemann equations but I don't know what does mean that values $f$ are on line $y=ax+b$. Can you explain me that?
Thanks in advance.