Let $X$ be a topological space , $Y$ be a metric space and $A$ be a subset of $X$. Let $f$ be a continuous function from $A$ to $Y$.
(Here $f$ is continuous in the sense that any inverse of image of an open set is open.)
How do I prove that there is at most one way to extend $f$ from $Cl(A)$ to $Y$ ?
( $Cl(A)$ is the intersection of all closed supersets of $A$ ).
In case of $\mathbb{R}$ we can verify this easily but I am not able to do the same for topological space. Any suggestion is appreciable.