A complex function is a mapping or function whose domain and codomain are subsets of the set of complex numbers $\C$.