In this post, I want to give you a clear explanation of type variance in Kotlin. We’ll cover the following topics: introduction to variance invariance, covariance, and contravariance declaration-site and use-site variance Let’s dive right in! 🤓 Introduction to variance When talking about variance, you can think about the relation between generic types…