Let $(X,\tau)$ be a topological space. Suppose that $B\subseteq X$ has no accumulation point. That is, for any $x\in X$ there exists some $U\subseteq X$ such that $x$ is in the interior of $U$ and $B\cap U\cap\{x\}^c$ is empty.
Claim: If $C\subseteq B$, then $C$ is closed.
Proof: If $C\subseteq B$, then, since $B$ does not have an accumulation point, $C$ does not have any, either. But any set that contains the set of its own accumulation points (which is the empty set in the case of $C$) must be closed. $\blacksquare$
Corollary If $(Y,\nu)$ is any topological space, then any function $f:B\to Y$ is continuous (in the relative topology).
Proof: If $V$ is any closed set in $Y$, then $f^{-1}(V)\subseteq B$. Therefore, $f^{-1}(V)$ is closed in the topology $\tau$ and thus must be closed in the relative topology (generated by $B$) as well. $\blacksquare$
This set of results (especially the corollary) is so surprising to me that I thought I would seek some feedback. Thank you very much for sharing your thoughts.