I have ecnountered the following statement: If $T$ is a compact operator on a Hilbert space, then for $\lambda\in \Bbb C$, $T-\lambda\operatorname{id}$ is either invertible or has non-trivial kernel.
Am I correct to rephrase this as: The spectrum of a compact operator consists only of eigenvalues?