
“when” statement in Kotlin is similar to using “switch-case” statements for those familiar with using other programming languages like Java and C#.ĭepending on the different values of the constant or variable within the when expression, different statements can be executed. Primarily, there are 4 types of control flow constructs provided by Kotlin i.e. Catch up on everything announced at Firebase Summit, and learn how Firebase can help you accelerate app development and.
