Lemma 2.4.6. Let \(C \to D\) be an equivalence of categories. Then \(C\) is a groupoid if and only if \(D\) is a groupoid.
Proof
This follows from the following commutative diagram:
Here the bottom functor is again an equivalence by the functoriality of functor categories, Construction 1.7.7.
From Section 2.4, Groupoids.