Let $X$ be a real-valued random variable defined on a measurable space $(\Omega, \mathscr{F})$. Let also $(\mathcal{P}(\Omega), \mathscr{P})$ be the set of probability measure on $\Omega$; here the $\sigma$-algebra $\mathscr{P}$ is the collection of sets generated by $\{\lambda \in \mathcal{P}(\Omega): \lambda(A) \in B\}$ where $A \in \mathscr{F}$ and $B$ is a Borel set of $\mathbf{R}$.
How can we prove that the map $x\mapsto \delta_x$ is measurable, where $\delta_x$ is the Dirac on $x$?