Definition:Closed Set/Metric Space

Definition
Let $M = \left({X, d}\right)$ be a metric space.

Let $H \subseteq X$.

Then $H$ is closed (in $M$) iff its complement $X \setminus H$ is open in $M$.