If $|f|$ has a finite limit, then $z=a$ is a removable singularity; if $|f|\to \infty$, then it is a pole.