If exists a set $X$ such that $\mathscr{B}(X;M)$ is complete, then $M$ is a complete metric space.
$\mathscr{B}(X;M)$ is the set of all bounded functions from $X\rightarrow M.$ In $\mathscr{B}(X;M)$ we do consider the sup metric.
I've tried a path which got me stuck. I'll post it here:
Suppose that $M$ is not complete and by contradition suppose $\mathscr{B}(X;M)$ complete. Then there exists a Cauchy sequence $(x_n)$ in $M$ which is not convergent there. For each $n\in \mathbb N$, consider $f_n$ such that $f_n(X)= \{x_n\}$. Then, $(f_n)$ is a cauchy sequence in $\mathscr{B}(X;M)$, because $(x_n)$ is a Cauchy sequence in $M$. Since $\mathscr{B}(X;M)$ is complete, we do know that $f_n \rightarrow f\in \mathscr{B}(X;M)$.
What now? How do i proceed (if possible)? Any help with an alternative way?