Glossary: Kotlin Beyond the Basics
declaration-site variance
Also written: use-site variance
Declaration-site variance marks `in` or `out` on the class itself. Use-site variance marks it where the type is used, as in `MutableList<out Priced>`.
Glossary: Kotlin Beyond the Basics
Also written: use-site variance
Declaration-site variance marks `in` or `out` on the class itself. Use-site variance marks it where the type is used, as in `MutableList<out Priced>`.