My new favourite Kotlin feature is "when guards"!
Since Kotlin 2.1.0, you can now add extra conditions to the when expression, which helps perform multiple checks while keeping type exhaustiveness.
I'm using just the basics and need to read more about it, but this feels good!
#KotlinMultiplatform