Consider two simplicial sets $K$ and $L$. Their mapping space (or mapping complex) is the internal hom of simplicial sets, i.e. $\underline{\mathrm{Hom}}(K,L)$, where $$ \underline{\mathrm{Hom}}(K,L)_n := \mathrm{Hom}_{\mathsf{SSet}}(K \times \Delta[n], L). $$
There is a (I presume classical) result in simplicial algebraic topology, that states
(1) If $L$ is a Kan complex, and $K$ a simplicial set, then $\underline{\mathrm{Hom}}(K,L)$ is a Kan complex.
This is for example present in J. P. May, Simplicial objects in algebraic topology, Theorem I.6.9. A Kan complex is a simplicial set $L$ where the horn projections $p^m_j: L_m \to \Lambda^m_j(L)$ are surjective for any $m \ge 1$, $0\le j \le m$. If in addition, all these are bijective for all $m > n$, we say that $L$ is an $n$-groupoid. So in this language, a Kan complex is an $\infty$-groupoid.
I am currently trying to specialize the above result to the statement
(2) If $L$ is an $n$-groupoid, and $K$ a simplicial set, then $\underline{\mathrm{Hom}}(K,L)$ is an $n$-groupoid.
I have some ideas on how to adapt the proof of (1) to show this, but since I am not so familiar with the algebraic topology literature, I am wondering two things.
Are there other proofs of (1) in more modern introductions to the subject since May's lecture notes?
Does (2) already appear in the literature? Is it already known?