For functions with value in more general Banach spaces the situation is more complicated; the first non-trivial result in this direction is the Kirszbraun theorem.
The situation is more complicated. This was for functions with value in more general Banach spaces. The first non-trivial result in this direction is the Kirszbraun theorem.