# Derivative of complex number

If I have a function y = if(x), where f(x) is a real valued function, would its derivative be y'=if'(x)...or does something different have to happen with the i part?

cheers,
W.