For subspaces $U,W\subseteq V$, $V=U\oplus W$ iff $U+W=V$ and $U\cap W=\{0\}$. The first condition gives existence of decompositions, the second gives uniqueness. In finite dimensions, disjointness plus $\dim U+\dim W=\dim V$ is an equivalent test.