Let $F=$ $\{$ $f: [0,1] \rightarrow \mathbb{R}$ $:$ $f$ is constant$ \} $. I must show that $F$ is uncountable. Note, that for any $f \in F$, and any $c\in \mathbb{R}$, I will denote the constant function $f:$ [0,1] $\rightarrow \mathbb{R}$, $f(x)=c$ by $f_c$ .
Define a map $g: \mathbb{R} \rightarrow F$ by $g(x)= f_x$ then observe that $g(a)=g(b)$ $\implies$ $f_a=f_b$. $f_a$ is the map defined on $[0,1]$ given by $f(x)=a$ and $f_b$ is the map defined on $[0,1]$ given by $h(x)=$ $b$. As the maps are equal, $a=b$ and so $g$ is injective, so $F$ must be uncountable.
Note: The map is also surjection and consequently a bijection, but showing it is indeed a bijection is not necessary.
Is the proof correct? What other easier ways are there to prove this?