Proposition 3.1.6.17. Let $f: X \rightarrow Y$ be a morphism of simplicial sets, and let $Z$ be a Kan complex. If $f$ is a weak homotopy equivalence, then composition with $f$ induces a homotopy equivalence $\operatorname{Fun}( Y, Z) \rightarrow \operatorname{Fun}(X,Z)$.
$\Newextarrow{\xhookrightarrow}{10,10}{0x21AA}$
Proof. By virtue of Remark 3.1.6.6, it will suffice to show that for every simplicial set $A$, the induced map $\theta : \operatorname{Fun}( A, \operatorname{Fun}(Y, Z) ) \rightarrow \operatorname{Fun}( A, \operatorname{Fun}(X,Z) )$ induces a bijection on connected components. This follows by observing that $\theta $ can be identfied with the map $\operatorname{Fun}(Y, \operatorname{Fun}(A,Z) ) \rightarrow \operatorname{Fun}( X, \operatorname{Fun}(A,Z) )$ given be precomposition with $f$ (since Corollary 3.1.3.4 guarantees that the simplicial set $\operatorname{Fun}(A,Z)$ is a Kan complex). $\square$