
Kotlin previews guard conditions in when expressions
JetBrains has released Kotlin 2.1.0, an update to the Kotlin programming language that previews guard conditions and has compiler updates offering flexibility around checks. Released November 27, Kotlin 2.1.0 can be installed as an update by following the instructions at kotlinlang.org. Kotlin 2.1.0 introduces several language improvements in preview. One preview feature allows developers to…